Interface DescribeArtifactResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeArtifactResponse.Builder,DescribeArtifactResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeArtifactResponse.Builder,DescribeArtifactResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeArtifactResponse
public static interface DescribeArtifactResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeArtifactResponse.Builder,DescribeArtifactResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeArtifactResponse.Builder
artifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact.DescribeArtifactResponse.Builder
artifactName(String artifactName)
The name of the artifact.DescribeArtifactResponse.Builder
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.DescribeArtifactResponse.Builder
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.DescribeArtifactResponse.Builder
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.DescribeArtifactResponse.Builder
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.DescribeArtifactResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
When the artifact was last modified.DescribeArtifactResponse.Builder
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.DescribeArtifactResponse.Builder
metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.DescribeArtifactResponse.Builder
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.DescribeArtifactResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
artifactName
DescribeArtifactResponse.Builder artifactName(String 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
DescribeArtifactResponse.Builder artifactArn(String 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
DescribeArtifactResponse.Builder source(ArtifactSource 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
default DescribeArtifactResponse.Builder source(Consumer<ArtifactSource.Builder> 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:
source(ArtifactSource)
-
artifactType
DescribeArtifactResponse.Builder artifactType(String 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
DescribeArtifactResponse.Builder properties(Map<String,String> 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
DescribeArtifactResponse.Builder creationTime(Instant 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
DescribeArtifactResponse.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 DescribeArtifactResponse.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
DescribeArtifactResponse.Builder lastModifiedTime(Instant 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
DescribeArtifactResponse.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 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:
lastModifiedBy(UserContext)
-
metadataProperties
DescribeArtifactResponse.Builder metadataProperties(MetadataProperties 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:
metadataProperties(MetadataProperties)
-
lineageGroupArn
DescribeArtifactResponse.Builder lineageGroupArn(String 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.
-
-