Interface ModelDashboardModelCard.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelDashboardModelCard.Builder,,ModelDashboardModelCard> SdkBuilder<ModelDashboardModelCard.Builder,,ModelDashboardModelCard> SdkPojo
- Enclosing class:
ModelDashboardModelCard
-
Method Summary
Modifier and TypeMethodDescriptiondefault ModelDashboardModelCard.BuildercreatedBy(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime(Instant creationTime) A timestamp that indicates when the model card was created.default ModelDashboardModelCard.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy(UserContext lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime(Instant lastModifiedTime) A timestamp that indicates when the model card was last updated.modelCardArn(String modelCardArn) The Amazon Resource Name (ARN) for a model card.modelCardName(String modelCardName) The name of a model card.modelCardStatus(String modelCardStatus) The model card status.modelCardStatus(ModelCardStatus modelCardStatus) The model card status.modelCardVersion(Integer modelCardVersion) The model card version.For models created in SageMaker, this is the model ARN.riskRating(String riskRating) A model card's risk rating.default ModelDashboardModelCard.BuildersecurityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig) The KMS Key ID (KMSKeyId) for encryption of model card information.securityConfig(ModelCardSecurityConfig securityConfig) The KMS Key ID (KMSKeyId) for encryption of model card information.tags(Collection<Tag> tags) The tags associated with a model card.tags(Consumer<Tag.Builder>... tags) The tags associated with a model card.The tags associated with a model card.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
-
modelCardArn
The Amazon Resource Name (ARN) for a model card.
- Parameters:
modelCardArn- The Amazon Resource Name (ARN) for a model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardName
The name of a model card.
- Parameters:
modelCardName- The name of a model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardVersion
The model card version.
- Parameters:
modelCardVersion- The model card version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardStatus
The model card status.
- Parameters:
modelCardStatus- The model card status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelCardStatus
The model card status.
- Parameters:
modelCardStatus- The model card status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityConfig
The KMS Key ID (
KMSKeyId) for encryption of model card information.- Parameters:
securityConfig- The KMS Key ID (KMSKeyId) for encryption of model card information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
default ModelDashboardModelCard.Builder securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig) The KMS Key ID (
This is a convenience method that creates an instance of theKMSKeyId) for encryption of model card information.ModelCardSecurityConfig.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:
-
creationTime
A timestamp that indicates when the model card was created.
- Parameters:
creationTime- A timestamp that indicates when the model card was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(UserContext).- Parameters:
createdBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
A timestamp that indicates when the model card was last updated.
- Parameters:
lastModifiedTime- A timestamp that indicates when the model card was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default ModelDashboardModelCard.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastModifiedBy(UserContext).- Parameters:
lastModifiedBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with a model card.
- Parameters:
tags- The tags associated with a model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with a model card.
- Parameters:
tags- The tags associated with a model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with a model card.
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 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:
-
modelId
For models created in SageMaker, this is the model ARN. For models created outside of SageMaker, this is a user-customized string.
- Parameters:
modelId- For models created in SageMaker, this is the model ARN. For models created outside of SageMaker, this is a user-customized string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
riskRating
A model card's risk rating. Can be low, medium, or high.
- Parameters:
riskRating- A model card's risk rating. Can be low, medium, or high.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-