@Stability(value=Stable) public static final class CfnEndpointConfig.DataCaptureConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpointConfig.DataCaptureConfigProperty>
CfnEndpointConfig.DataCaptureConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder captureOptions(IResolvable captureOptions)
CfnEndpointConfig.DataCaptureConfigProperty.getCaptureOptions()captureOptions - Specifies whether the endpoint captures input data to your model, output data from your model, or both. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder captureOptions(List<? extends Object> captureOptions)
CfnEndpointConfig.DataCaptureConfigProperty.getCaptureOptions()captureOptions - Specifies whether the endpoint captures input data to your model, output data from your model, or both. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder destinationS3Uri(String destinationS3Uri)
CfnEndpointConfig.DataCaptureConfigProperty.getDestinationS3Uri()destinationS3Uri - The S3 bucket where model monitor stores captured data. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder initialSamplingPercentage(Number initialSamplingPercentage)
initialSamplingPercentage - The percentage of data to capture. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder captureContentTypeHeader(CfnEndpointConfig.CaptureContentTypeHeaderProperty captureContentTypeHeader)
captureContentTypeHeader - A list of the JSON and CSV content type that the endpoint captures.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder captureContentTypeHeader(IResolvable captureContentTypeHeader)
captureContentTypeHeader - A list of the JSON and CSV content type that the endpoint captures.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder enableCapture(Boolean enableCapture)
CfnEndpointConfig.DataCaptureConfigProperty.getEnableCapture()enableCapture - Set to `True` to enable data capture.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder enableCapture(IResolvable enableCapture)
CfnEndpointConfig.DataCaptureConfigProperty.getEnableCapture()enableCapture - Set to `True` to enable data capture.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty.Builder kmsKeyId(String kmsKeyId)
CfnEndpointConfig.DataCaptureConfigProperty.getKmsKeyId()kmsKeyId - The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side encryption.
The KmsKeyId can be any of the following formats: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html) in the Amazon Simple Storage Service Developer Guide. The KMS key policy must grant permission to the IAM role that you specify in your CreateModel (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html) request. For more information, see Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html) in the AWS Key Management Service Developer Guide.this@Stability(value=Stable) public CfnEndpointConfig.DataCaptureConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpointConfig.DataCaptureConfigProperty>CfnEndpointConfig.DataCaptureConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.