Interface CreateModelCardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateModelCardRequest.Builder,CreateModelCardRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateModelCardRequest
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.Builder
content(String content)
The content of the model card.CreateModelCardRequest.Builder
modelCardName(String modelCardName)
The unique name of the model card.CreateModelCardRequest.Builder
modelCardStatus(String modelCardStatus)
The approval status of the model card within your organization.CreateModelCardRequest.Builder
modelCardStatus(ModelCardStatus modelCardStatus)
The approval status of the model card within your organization.CreateModelCardRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateModelCardRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.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.CreateModelCardRequest.Builder
tags(Collection<Tag> tags)
Key-value pairs used to manage metadata for model cards.CreateModelCardRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Key-value pairs used to manage metadata for model cards.CreateModelCardRequest.Builder
tags(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, 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.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:
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateModelCardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-