public static interface DescribeArtifactResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeArtifactResponse.Builder,DescribeArtifactResponse>
Modifier and Type | Method and 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.
|
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.
|
DescribeArtifactResponse.Builder |
source(ArtifactSource source)
The source of the artifact.
|
default DescribeArtifactResponse.Builder |
source(Consumer<ArtifactSource.Builder> source)
The source of the artifact.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeArtifactResponse.Builder artifactName(String artifactName)
The name of the artifact.
artifactName
- The name of the artifact.DescribeArtifactResponse.Builder artifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact.
artifactArn
- The Amazon Resource Name (ARN) of the artifact.DescribeArtifactResponse.Builder source(ArtifactSource source)
The source of the artifact.
source
- The source of the artifact.default DescribeArtifactResponse.Builder source(Consumer<ArtifactSource.Builder> source)
The source of the artifact.
This is a convenience that creates an instance of theArtifactSource.Builder
avoiding the need to
create one manually via ArtifactSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to source(ArtifactSource)
.source
- a consumer that will call methods on ArtifactSource.Builder
source(ArtifactSource)
DescribeArtifactResponse.Builder artifactType(String artifactType)
The type of the artifact.
artifactType
- The type of the artifact.DescribeArtifactResponse.Builder properties(Map<String,String> properties)
A list of the artifact's properties.
properties
- A list of the artifact's properties.DescribeArtifactResponse.Builder creationTime(Instant creationTime)
When the artifact was created.
creationTime
- When the artifact was created.DescribeArtifactResponse.Builder createdBy(UserContext createdBy)
createdBy
- The new value for the CreatedBy property for this object.default DescribeArtifactResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
UserContext.Builder
avoiding the need to create
one manually via UserContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to createdBy(UserContext)
.createdBy
- a consumer that will call methods on UserContext.Builder
createdBy(UserContext)
DescribeArtifactResponse.Builder lastModifiedTime(Instant lastModifiedTime)
When the artifact was last modified.
lastModifiedTime
- When the artifact was last modified.DescribeArtifactResponse.Builder lastModifiedBy(UserContext lastModifiedBy)
lastModifiedBy
- The new value for the LastModifiedBy property for this object.default DescribeArtifactResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
UserContext.Builder
avoiding the need to create
one manually via UserContext.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to lastModifiedBy(UserContext)
.lastModifiedBy
- a consumer that will call methods on UserContext.Builder
lastModifiedBy(UserContext)
DescribeArtifactResponse.Builder metadataProperties(MetadataProperties metadataProperties)
metadataProperties
- The new value for the MetadataProperties property for this object.default DescribeArtifactResponse.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
MetadataProperties.Builder
avoiding the need to
create one manually via MetadataProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadataProperties(MetadataProperties)
.metadataProperties
- a consumer that will call methods on MetadataProperties.Builder
metadataProperties(MetadataProperties)
Copyright © 2021. All rights reserved.