Interface OptimizationJobOutputConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OptimizationJobOutputConfig.Builder,,OptimizationJobOutputConfig> SdkBuilder<OptimizationJobOutputConfig.Builder,,OptimizationJobOutputConfig> SdkPojo
- Enclosing class:
OptimizationJobOutputConfig
@Mutable
@NotThreadSafe
public static interface OptimizationJobOutputConfig.Builder
extends SdkPojo, CopyableBuilder<OptimizationJobOutputConfig.Builder,OptimizationJobOutputConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of a key in Amazon Web Services KMS.s3OutputLocation(String s3OutputLocation) The Amazon S3 URI for where to store the optimized model that you create with an optimization job.sageMakerModel(Consumer<OptimizationSageMakerModel.Builder> sageMakerModel) The name of a SageMaker model to use as the output destination for an optimization job.sageMakerModel(OptimizationSageMakerModel sageMakerModel) The name of a SageMaker model to use as the output destination for an optimization job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
kmsKeyId
The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
- Parameters:
kmsKeyId- The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3OutputLocation
The Amazon S3 URI for where to store the optimized model that you create with an optimization job.
- Parameters:
s3OutputLocation- The Amazon S3 URI for where to store the optimized model that you create with an optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerModel
The name of a SageMaker model to use as the output destination for an optimization job.
- Parameters:
sageMakerModel- The name of a SageMaker model to use as the output destination for an optimization job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerModel
default OptimizationJobOutputConfig.Builder sageMakerModel(Consumer<OptimizationSageMakerModel.Builder> sageMakerModel) The name of a SageMaker model to use as the output destination for an optimization job.
This is a convenience method that creates an instance of theOptimizationSageMakerModel.Builderavoiding the need to create one manually viaOptimizationSageMakerModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosageMakerModel(OptimizationSageMakerModel).- Parameters:
sageMakerModel- a consumer that will call methods onOptimizationSageMakerModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-