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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ArtifactSummary.BuilderartifactArn(String artifactArn)The Amazon Resource Name (ARN) of the artifact.ArtifactSummary.BuilderartifactName(String artifactName)The name of the artifact.ArtifactSummary.BuilderartifactType(String artifactType)The type of the artifact.ArtifactSummary.BuildercreationTime(Instant creationTime)When the artifact was created.ArtifactSummary.BuilderlastModifiedTime(Instant lastModifiedTime)When the artifact was last modified.default ArtifactSummary.Buildersource(Consumer<ArtifactSource.Builder> source)The source of the artifact.ArtifactSummary.Buildersource(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 Detail
-
artifactArn
ArtifactSummary.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.
-
artifactName
ArtifactSummary.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.
-
source
ArtifactSummary.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 ArtifactSummary.Builder source(Consumer<ArtifactSource.Builder> source)
The source of the artifact.
This is a convenience method that creates an instance of theArtifactSource.Builderavoiding the need to create one manually viaArtifactSource.builder().When the
Consumercompletes,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
ArtifactSummary.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.
-
creationTime
ArtifactSummary.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.
-
lastModifiedTime
ArtifactSummary.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.
-
-