Interface DescribeModelCardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeModelCardResponse.Builder,
,DescribeModelCardResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeModelCardResponse.Builder,
,DescribeModelCardResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeModelCardResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the model card.createdBy
(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) The date and time the model card was created.lastModifiedBy
(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) The date and time the model card was last modified.modelCardArn
(String modelCardArn) The Amazon Resource Name (ARN) of the model card.modelCardName
(String modelCardName) The name of the model card.modelCardProcessingStatus
(String modelCardProcessingStatus) The processing status of model card deletion.modelCardProcessingStatus
(ModelCardProcessingStatus modelCardProcessingStatus) The processing status of model card deletion.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.modelCardVersion
(Integer modelCardVersion) The version of the model card.securityConfig
(Consumer<ModelCardSecurityConfig.Builder> securityConfig) The security configuration used to protect model card content.securityConfig
(ModelCardSecurityConfig securityConfig) The security configuration used to protect model card content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelCardArn
The Amazon Resource Name (ARN) of the model card.
- Parameters:
modelCardArn
- The Amazon Resource Name (ARN) of the model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardName
The name of the model card.
- Parameters:
modelCardName
- The name of the model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardVersion
The version of the model card.
- Parameters:
modelCardVersion
- The version of the model card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the model card.
- Parameters:
content
- The content of the model card.- 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:
-
-
securityConfig
The security configuration used to protect model card content.
- Parameters:
securityConfig
- The security configuration used to protect model card content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
default DescribeModelCardResponse.Builder securityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig) The security configuration used to protect model card content.
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:
-
creationTime
The date and time the model card was created.
- Parameters:
creationTime
- The date and time 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.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:
-
lastModifiedTime
The date and time the model card was last modified.
- Parameters:
lastModifiedTime
- The date and time the model card was last modified.- 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 DescribeModelCardResponse.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:
-
modelCardProcessingStatus
The processing status of model card deletion. The
ModelCardProcessingStatus
updates throughout the different deletion steps.-
DeletePending
: Model card deletion request received. -
DeleteInProgress
: Model card deletion is in progress. -
ContentDeleted
: Deleted model card content. -
ExportJobsDeleted
: Deleted all export jobs associated with the model card. -
DeleteCompleted
: Successfully deleted the model card. -
DeleteFailed
: The model card failed to delete.
- Parameters:
modelCardProcessingStatus
- The processing status of model card deletion. TheModelCardProcessingStatus
updates throughout the different deletion steps.-
DeletePending
: Model card deletion request received. -
DeleteInProgress
: Model card deletion is in progress. -
ContentDeleted
: Deleted model card content. -
ExportJobsDeleted
: Deleted all export jobs associated with the model card. -
DeleteCompleted
: Successfully deleted the model card. -
DeleteFailed
: The model card failed to delete.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
modelCardProcessingStatus
DescribeModelCardResponse.Builder modelCardProcessingStatus(ModelCardProcessingStatus modelCardProcessingStatus) The processing status of model card deletion. The
ModelCardProcessingStatus
updates throughout the different deletion steps.-
DeletePending
: Model card deletion request received. -
DeleteInProgress
: Model card deletion is in progress. -
ContentDeleted
: Deleted model card content. -
ExportJobsDeleted
: Deleted all export jobs associated with the model card. -
DeleteCompleted
: Successfully deleted the model card. -
DeleteFailed
: The model card failed to delete.
- Parameters:
modelCardProcessingStatus
- The processing status of model card deletion. TheModelCardProcessingStatus
updates throughout the different deletion steps.-
DeletePending
: Model card deletion request received. -
DeleteInProgress
: Model card deletion is in progress. -
ContentDeleted
: Deleted model card content. -
ExportJobsDeleted
: Deleted all export jobs associated with the model card. -
DeleteCompleted
: Successfully deleted the model card. -
DeleteFailed
: The model card failed to delete.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-