Interface DescribeModelCardResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeModelCardResponse
public static interface DescribeModelCardResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeModelCardResponse.Builder,DescribeModelCardResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeModelCardResponse.Buildercontent(String content)The content of the model card.default DescribeModelCardResponse.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.DescribeModelCardResponse.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.DescribeModelCardResponse.BuildercreationTime(Instant creationTime)The date and time the model card was created.default DescribeModelCardResponse.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeModelCardResponse.BuilderlastModifiedBy(UserContext lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeModelCardResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time the model card was last modified.DescribeModelCardResponse.BuildermodelCardArn(String modelCardArn)The Amazon Resource Name (ARN) of the model card.DescribeModelCardResponse.BuildermodelCardName(String modelCardName)The name of the model card.DescribeModelCardResponse.BuildermodelCardProcessingStatus(String modelCardProcessingStatus)The processing status of model card deletion.DescribeModelCardResponse.BuildermodelCardProcessingStatus(ModelCardProcessingStatus modelCardProcessingStatus)The processing status of model card deletion.DescribeModelCardResponse.BuildermodelCardStatus(String modelCardStatus)The approval status of the model card within your organization.DescribeModelCardResponse.BuildermodelCardStatus(ModelCardStatus modelCardStatus)The approval status of the model card within your organization.DescribeModelCardResponse.BuildermodelCardVersion(Integer modelCardVersion)The version of the model card.default DescribeModelCardResponse.BuildersecurityConfig(Consumer<ModelCardSecurityConfig.Builder> securityConfig)The security configuration used to protect model card content.DescribeModelCardResponse.BuildersecurityConfig(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 Detail
-
modelCardArn
DescribeModelCardResponse.Builder modelCardArn(String 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
DescribeModelCardResponse.Builder modelCardName(String 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
DescribeModelCardResponse.Builder modelCardVersion(Integer 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
DescribeModelCardResponse.Builder content(String 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
DescribeModelCardResponse.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
DescribeModelCardResponse.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
-
-
securityConfig
DescribeModelCardResponse.Builder securityConfig(ModelCardSecurityConfig 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.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)
-
creationTime
DescribeModelCardResponse.Builder creationTime(Instant 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
DescribeModelCardResponse.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 DescribeModelCardResponse.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.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:
createdBy(UserContext)
-
lastModifiedTime
DescribeModelCardResponse.Builder lastModifiedTime(Instant 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
DescribeModelCardResponse.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 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.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:
lastModifiedBy(UserContext)
-
modelCardProcessingStatus
DescribeModelCardResponse.Builder modelCardProcessingStatus(String modelCardProcessingStatus)
The processing status of model card deletion. The
ModelCardProcessingStatusupdates 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. TheModelCardProcessingStatusupdates 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,ModelCardProcessingStatus
-
-
modelCardProcessingStatus
DescribeModelCardResponse.Builder modelCardProcessingStatus(ModelCardProcessingStatus modelCardProcessingStatus)
The processing status of model card deletion. The
ModelCardProcessingStatusupdates 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. TheModelCardProcessingStatusupdates 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,ModelCardProcessingStatus
-
-
-