Interface ArtifactSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArtifactSummary.Builder,
,ArtifactSummary> SdkBuilder<ArtifactSummary.Builder,
,ArtifactSummary> SdkPojo
- Enclosing class:
ArtifactSummary
public static interface ArtifactSummary.Builder
extends SdkPojo, CopyableBuilder<ArtifactSummary.Builder,ArtifactSummary>
-
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.creationTime
(Instant creationTime) When the artifact was created.lastModifiedTime
(Instant lastModifiedTime) When the artifact was last modified.default ArtifactSummary.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
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.
-
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.
-