Interface DescribeArtifactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeArtifactResponse.Builder,
,DescribeArtifactResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeArtifactResponse.Builder,
,DescribeArtifactResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeArtifactResponse
-
Method Summary
Modifier and TypeMethodDescriptionartifactArn
(String artifactArn) The Amazon Resource Name (ARN) of the artifact.artifactName
(String artifactName) The name of the artifact.artifactType
(String artifactType) The type of the artifact.default DescribeArtifactResponse.Builder
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) When the artifact was created.default DescribeArtifactResponse.Builder
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) When the artifact was last modified.lineageGroupArn
(String lineageGroupArn) The Amazon Resource Name (ARN) of the lineage group.default DescribeArtifactResponse.Builder
metadataProperties
(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object.metadataProperties
(MetadataProperties metadataProperties) Sets the value of the MetadataProperties property for this object.properties
(Map<String, String> properties) A list of the artifact's properties.default DescribeArtifactResponse.Builder
source
(Consumer<ArtifactSource.Builder> source) The source of the artifact.source
(ArtifactSource source) The source of the artifact.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
-
artifactName
The name of the artifact.
- Parameters:
artifactName
- The name of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactArn
The Amazon Resource Name (ARN) of the artifact.
- Parameters:
artifactArn
- The Amazon Resource Name (ARN) of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the artifact.
- Parameters:
source
- The source of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the artifact.
This is a convenience method that creates an instance of theArtifactSource.Builder
avoiding the need to create one manually viaArtifactSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ArtifactSource)
.- Parameters:
source
- a consumer that will call methods onArtifactSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
artifactType
The type of the artifact.
- Parameters:
artifactType
- The type of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
A list of the artifact's properties.
- Parameters:
properties
- A list of the artifact's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the artifact was created.
- Parameters:
creationTime
- When the artifact 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
When the artifact was last modified.
- Parameters:
lastModifiedTime
- When the artifact 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 DescribeArtifactResponse.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:
-
metadataProperties
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties
- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default DescribeArtifactResponse.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties) Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builder
avoiding the need to create one manually viaMetadataProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataProperties(MetadataProperties)
.- Parameters:
metadataProperties
- a consumer that will call methods onMetadataProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineageGroupArn
The Amazon Resource Name (ARN) of the lineage group.
- Parameters:
lineageGroupArn
- The Amazon Resource Name (ARN) of the lineage group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-