Interface ArtifactRevision.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ArtifactRevision.Builder,ArtifactRevision>,SdkBuilder<ArtifactRevision.Builder,ArtifactRevision>,SdkPojo
- Enclosing class:
- ArtifactRevision
public static interface ArtifactRevision.Builder extends SdkPojo, CopyableBuilder<ArtifactRevision.Builder,ArtifactRevision>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArtifactRevision.Buildercreated(Instant created)The date and time when the most recent revision of the artifact was created, in timestamp format.ArtifactRevision.Buildername(String name)The name of an artifact.ArtifactRevision.BuilderrevisionChangeIdentifier(String revisionChangeIdentifier)An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.ArtifactRevision.BuilderrevisionId(String revisionId)The revision ID of the artifact.ArtifactRevision.BuilderrevisionSummary(String revisionSummary)Summary information about the most recent revision of the artifact.ArtifactRevision.BuilderrevisionUrl(String revisionUrl)The commit ID for the artifact revision.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ArtifactRevision.Builder name(String name)
The name of an artifact. This name might be system-generated, such as "MyApp", or defined by the user when an action is created.
- Parameters:
name- The name of an artifact. This name might be system-generated, such as "MyApp", or defined by the user when an action is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
ArtifactRevision.Builder revisionId(String revisionId)
The revision ID of the artifact.
- Parameters:
revisionId- The revision ID of the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionChangeIdentifier
ArtifactRevision.Builder revisionChangeIdentifier(String revisionChangeIdentifier)
An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.
- Parameters:
revisionChangeIdentifier- An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionSummary
ArtifactRevision.Builder revisionSummary(String revisionSummary)
Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a
codepipeline-artifact-revision-summarykey specified in the object metadata.- Parameters:
revisionSummary- Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of acodepipeline-artifact-revision-summarykey specified in the object metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
ArtifactRevision.Builder created(Instant created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
- Parameters:
created- The date and time when the most recent revision of the artifact was created, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionUrl
ArtifactRevision.Builder revisionUrl(String revisionUrl)
The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.
- Parameters:
revisionUrl- The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-