Interface CreateModelCardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateModelCardRequest.Builder,
,CreateModelCardRequest> SageMakerRequest.Builder
,SdkBuilder<CreateModelCardRequest.Builder,
,CreateModelCardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateModelCardRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the model card.modelCardName
(String modelCardName) The unique name of the model card.modelCardStatus
(String modelCardStatus) The approval status of the model card within your organization.modelCardStatus
(ModelCardStatus modelCardStatus) The approval status of the model card within your organization.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateModelCardRequest.Builder
securityConfig
(Consumer<ModelCardSecurityConfig.Builder> securityConfig) An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.securityConfig
(ModelCardSecurityConfig securityConfig) An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.tags
(Collection<Tag> tags) Key-value pairs used to manage metadata for model cards.tags
(Consumer<Tag.Builder>... tags) Key-value pairs used to manage metadata for model cards.Key-value pairs used to manage metadata for model cards.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
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
-
modelCardName
The unique name of the model card.
- Parameters:
modelCardName
- The unique name of the model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
- Parameters:
securityConfig
- An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
default CreateModelCardRequest.Builder securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig) An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.
This is a convenience method that creates an instance of theModelCardSecurityConfig.Builder
avoiding the need to create one manually viaModelCardSecurityConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityConfig(ModelCardSecurityConfig)
.- Parameters:
securityConfig
- a consumer that will call methods onModelCardSecurityConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The content of the model card. Content must be in model card JSON schema and provided as a string.
- Parameters:
content
- The content of the model card. Content must be in model card JSON schema and provided as a string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardStatus
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
- Parameters:
modelCardStatus
- The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
modelCardStatus
The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
- Parameters:
modelCardStatus
- The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.-
Draft
: The model card is a work in progress. -
PendingReview
: The model card is pending review. -
Approved
: The model card is approved. -
Archived
: The model card is archived. No more updates should be made to the model card, but it can still be exported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tags
Key-value pairs used to manage metadata for model cards.
- Parameters:
tags
- Key-value pairs used to manage metadata for model cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs used to manage metadata for model cards.
- Parameters:
tags
- Key-value pairs used to manage metadata for model cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs used to manage metadata for model cards.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateModelCardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelCardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-