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 Details

    • 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

      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 the ArtifactSource.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).

      Parameters:
      source - a consumer that will call methods on ArtifactSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.