Interface CreateModelCardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>,SageMakerRequest.Builder,SdkBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateModelCardRequest
@Mutable @NotThreadSafe public static interface CreateModelCardRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateModelCardRequest.Buildercontent(String content)The content of the model card.CreateModelCardRequest.BuildermodelCardName(String modelCardName)The unique name of the model card.CreateModelCardRequest.BuildermodelCardStatus(String modelCardStatus)The approval status of the model card within your organization.CreateModelCardRequest.BuildermodelCardStatus(ModelCardStatus modelCardStatus)The approval status of the model card within your organization.CreateModelCardRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateModelCardRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateModelCardRequest.BuildersecurityConfig(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.CreateModelCardRequest.BuildersecurityConfig(ModelCardSecurityConfig securityConfig)An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data.CreateModelCardRequest.Buildertags(Collection<Tag> tags)Key-value pairs used to manage metadata for model cards.CreateModelCardRequest.Buildertags(Consumer<Tag.Builder>... tags)Key-value pairs used to manage metadata for model cards.CreateModelCardRequest.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
modelCardName
CreateModelCardRequest.Builder modelCardName(String 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
CreateModelCardRequest.Builder 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.
- 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.Builderavoiding the need to create one manually viaModelCardSecurityConfig.builder().When the
Consumercompletes,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:
securityConfig(ModelCardSecurityConfig)
-
content
CreateModelCardRequest.Builder content(String 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
CreateModelCardRequest.Builder modelCardStatus(String 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,ModelCardStatus
-
-
modelCardStatus
CreateModelCardRequest.Builder modelCardStatus(ModelCardStatus 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,ModelCardStatus
-
-
tags
CreateModelCardRequest.Builder tags(Collection<Tag> 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
CreateModelCardRequest.Builder tags(Tag... 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
CreateModelCardRequest.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs used to manage metadata for model cards.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateModelCardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelCardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-