public static interface DataCaptureConfig.Builder extends SdkPojo, CopyableBuilder<DataCaptureConfig.Builder,DataCaptureConfig>
| Modifier and Type | Method and Description |
|---|---|
DataCaptureConfig.Builder |
captureContentTypeHeader(CaptureContentTypeHeader captureContentTypeHeader)
Configuration specifying how to treat different headers.
|
default DataCaptureConfig.Builder |
captureContentTypeHeader(Consumer<CaptureContentTypeHeader.Builder> captureContentTypeHeader)
Configuration specifying how to treat different headers.
|
DataCaptureConfig.Builder |
captureOptions(CaptureOption... captureOptions)
Specifies data Model Monitor will capture.
|
DataCaptureConfig.Builder |
captureOptions(Collection<CaptureOption> captureOptions)
Specifies data Model Monitor will capture.
|
DataCaptureConfig.Builder |
captureOptions(Consumer<CaptureOption.Builder>... captureOptions)
Specifies data Model Monitor will capture.
|
DataCaptureConfig.Builder |
destinationS3Uri(String destinationS3Uri)
The Amazon S3 location used to capture the data.
|
DataCaptureConfig.Builder |
enableCapture(Boolean enableCapture)
Whether data capture should be enabled or disabled (defaults to enabled).
|
DataCaptureConfig.Builder |
initialSamplingPercentage(Integer initialSamplingPercentage)
The percentage of requests SageMaker will capture.
|
DataCaptureConfig.Builder |
kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to
encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataCaptureConfig.Builder enableCapture(Boolean enableCapture)
Whether data capture should be enabled or disabled (defaults to enabled).
enableCapture - Whether data capture should be enabled or disabled (defaults to enabled).DataCaptureConfig.Builder initialSamplingPercentage(Integer initialSamplingPercentage)
The percentage of requests SageMaker will capture. A lower value is recommended for Endpoints with high traffic.
initialSamplingPercentage - The percentage of requests SageMaker will capture. A lower value is recommended for Endpoints with
high traffic.DataCaptureConfig.Builder destinationS3Uri(String destinationS3Uri)
The Amazon S3 location used to capture the data.
destinationS3Uri - The Amazon S3 location used to capture the data.DataCaptureConfig.Builder kmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
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
kmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses
to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
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
DataCaptureConfig.Builder captureOptions(Collection<CaptureOption> captureOptions)
Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both
captureOptions - Specifies data Model Monitor will capture. You can configure whether to collect only input, only
output, or bothDataCaptureConfig.Builder captureOptions(CaptureOption... captureOptions)
Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both
captureOptions - Specifies data Model Monitor will capture. You can configure whether to collect only input, only
output, or bothDataCaptureConfig.Builder captureOptions(Consumer<CaptureOption.Builder>... captureOptions)
Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both
This is a convenience method that creates an instance of theCaptureOption.Builder avoiding the need to create one
manually via CaptureOption.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #captureOptions(List.
captureOptions - a consumer that will call methods on
CaptureOption.Builder#captureOptions(java.util.Collection) DataCaptureConfig.Builder captureContentTypeHeader(CaptureContentTypeHeader captureContentTypeHeader)
Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
captureContentTypeHeader - Configuration specifying how to treat different headers. If no headers are specified SageMaker will by
default base64 encode when capturing the data.default DataCaptureConfig.Builder captureContentTypeHeader(Consumer<CaptureContentTypeHeader.Builder> captureContentTypeHeader)
Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
This is a convenience method that creates an instance of theCaptureContentTypeHeader.Builder
avoiding the need to create one manually via CaptureContentTypeHeader.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to captureContentTypeHeader(CaptureContentTypeHeader).
captureContentTypeHeader - a consumer that will call methods on CaptureContentTypeHeader.BuildercaptureContentTypeHeader(CaptureContentTypeHeader)Copyright © 2022. All rights reserved.