Interface ModelDashboardModelCard.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelDashboardModelCard.Builder,ModelDashboardModelCard>
,SdkBuilder<ModelDashboardModelCard.Builder,ModelDashboardModelCard>
,SdkPojo
- Enclosing class:
- ModelDashboardModelCard
public static interface ModelDashboardModelCard.Builder extends SdkPojo, CopyableBuilder<ModelDashboardModelCard.Builder,ModelDashboardModelCard>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelDashboardModelCard.Builder
createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object.ModelDashboardModelCard.Builder
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.ModelDashboardModelCard.Builder
creationTime(Instant creationTime)
A timestamp that indicates when the model card was created.default ModelDashboardModelCard.Builder
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.ModelDashboardModelCard.Builder
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.ModelDashboardModelCard.Builder
lastModifiedTime(Instant lastModifiedTime)
A timestamp that indicates when the model card was last updated.ModelDashboardModelCard.Builder
modelCardArn(String modelCardArn)
The Amazon Resource Name (ARN) for a model card.ModelDashboardModelCard.Builder
modelCardName(String modelCardName)
The name of a model card.ModelDashboardModelCard.Builder
modelCardStatus(String modelCardStatus)
The model card status.ModelDashboardModelCard.Builder
modelCardStatus(ModelCardStatus modelCardStatus)
The model card status.ModelDashboardModelCard.Builder
modelCardVersion(Integer modelCardVersion)
The model card version.ModelDashboardModelCard.Builder
modelId(String modelId)
For models created in SageMaker, this is the model ARN.ModelDashboardModelCard.Builder
riskRating(String riskRating)
A model card's risk rating.default ModelDashboardModelCard.Builder
securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig)
The KMS Key ID (KMSKeyId
) for encryption of model card information.ModelDashboardModelCard.Builder
securityConfig(ModelCardSecurityConfig securityConfig)
The KMS Key ID (KMSKeyId
) for encryption of model card information.ModelDashboardModelCard.Builder
tags(Collection<Tag> tags)
The tags associated with a model card.ModelDashboardModelCard.Builder
tags(Consumer<Tag.Builder>... tags)
The tags associated with a model card.ModelDashboardModelCard.Builder
tags(Tag... tags)
The tags associated with a model card.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
modelCardArn
ModelDashboardModelCard.Builder modelCardArn(String 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
ModelDashboardModelCard.Builder modelCardName(String 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
ModelDashboardModelCard.Builder modelCardVersion(Integer 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
ModelDashboardModelCard.Builder modelCardStatus(String 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
,ModelCardStatus
-
modelCardStatus
ModelDashboardModelCard.Builder modelCardStatus(ModelCardStatus 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
,ModelCardStatus
-
securityConfig
ModelDashboardModelCard.Builder securityConfig(ModelCardSecurityConfig 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.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)
-
creationTime
ModelDashboardModelCard.Builder creationTime(Instant 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
ModelDashboardModelCard.Builder createdBy(UserContext 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
default ModelDashboardModelCard.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,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:
createdBy(UserContext)
-
lastModifiedTime
ModelDashboardModelCard.Builder lastModifiedTime(Instant 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
ModelDashboardModelCard.Builder lastModifiedBy(UserContext 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.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,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:
lastModifiedBy(UserContext)
-
tags
ModelDashboardModelCard.Builder tags(Collection<Tag> 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
ModelDashboardModelCard.Builder tags(Tag... 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
ModelDashboardModelCard.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with a model card.
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
)
-
modelId
ModelDashboardModelCard.Builder modelId(String 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
ModelDashboardModelCard.Builder riskRating(String 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.
-
-