Interface RecommendationJobOutputConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationJobOutputConfig.Builder,,RecommendationJobOutputConfig> SdkBuilder<RecommendationJobOutputConfig.Builder,,RecommendationJobOutputConfig> SdkPojo
- Enclosing class:
RecommendationJobOutputConfig
-
Method Summary
Modifier and TypeMethodDescriptioncompiledOutputConfig(Consumer<RecommendationJobCompiledOutputConfig.Builder> compiledOutputConfig) Provides information about the output configuration for the compiled model.compiledOutputConfig(RecommendationJobCompiledOutputConfig compiledOutputConfig) Provides information about the output configuration for the compiled model.The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption.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, sdkFields
-
Method Details
-
kmsKeyId
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have
kms:GenerateDataKeypermission.The
KmsKeyIdcan be any of the following formats:-
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab" -
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>" -
// KMS Key Alias
"alias/ExampleAlias" -
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
- Parameters:
kmsKeyId- The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must havekms:GenerateDataKeypermission.The
KmsKeyIdcan be any of the following formats:-
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab" -
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:<region>:<account>:key/<key-id-12ab-34cd-56ef-1234567890ab>" -
// KMS Key Alias
"alias/ExampleAlias" -
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:<region>:<account>:alias/<ExampleAlias>"
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
compiledOutputConfig
RecommendationJobOutputConfig.Builder compiledOutputConfig(RecommendationJobCompiledOutputConfig compiledOutputConfig) Provides information about the output configuration for the compiled model.
- Parameters:
compiledOutputConfig- Provides information about the output configuration for the compiled model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compiledOutputConfig
default RecommendationJobOutputConfig.Builder compiledOutputConfig(Consumer<RecommendationJobCompiledOutputConfig.Builder> compiledOutputConfig) Provides information about the output configuration for the compiled model.
This is a convenience method that creates an instance of theRecommendationJobCompiledOutputConfig.Builderavoiding the need to create one manually viaRecommendationJobCompiledOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompiledOutputConfig(RecommendationJobCompiledOutputConfig).- Parameters:
compiledOutputConfig- a consumer that will call methods onRecommendationJobCompiledOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-