Interface InferenceExperimentDataStorageConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InferenceExperimentDataStorageConfig.Builder,
,InferenceExperimentDataStorageConfig> SdkBuilder<InferenceExperimentDataStorageConfig.Builder,
,InferenceExperimentDataStorageConfig> SdkPojo
- Enclosing class:
InferenceExperimentDataStorageConfig
public static interface InferenceExperimentDataStorageConfig.Builder
extends SdkPojo, CopyableBuilder<InferenceExperimentDataStorageConfig.Builder,InferenceExperimentDataStorageConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(Consumer<CaptureContentTypeHeader.Builder> contentType) Sets the value of the ContentType property for this object.contentType
(CaptureContentTypeHeader contentType) Sets the value of the ContentType property for this object.destination
(String destination) The Amazon S3 bucket where the inference request and response data is stored.The Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destination
The Amazon S3 bucket where the inference request and response data is stored.
- Parameters:
destination
- The Amazon S3 bucket where the inference request and response data is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKey
The Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.
- Parameters:
kmsKey
- The Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
Sets the value of the ContentType property for this object.- Parameters:
contentType
- The new value for the ContentType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
default InferenceExperimentDataStorageConfig.Builder contentType(Consumer<CaptureContentTypeHeader.Builder> contentType) Sets the value of the ContentType property for this object. This is a convenience method that creates an instance of theCaptureContentTypeHeader.Builder
avoiding the need to create one manually viaCaptureContentTypeHeader.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontentType(CaptureContentTypeHeader)
.- Parameters:
contentType
- a consumer that will call methods onCaptureContentTypeHeader.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-