Interface BuildSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BuildSummary.Builder,BuildSummary>, SdkBuilder<BuildSummary.Builder,BuildSummary>, SdkPojo
Enclosing class:
BuildSummary

public static interface BuildSummary.Builder extends SdkPojo, CopyableBuilder<BuildSummary.Builder,BuildSummary>
  • Method Details

    • arn

      The batch build ARN.

      Parameters:
      arn - The batch build ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestedOn

      BuildSummary.Builder requestedOn(Instant requestedOn)

      When the build was started, expressed in Unix time format.

      Parameters:
      requestedOn - When the build was started, expressed in Unix time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • buildStatus

      BuildSummary.Builder buildStatus(String buildStatus)

      The status of the build group.

      FAILED

      The build group failed.

      FAULT

      The build group faulted.

      IN_PROGRESS

      The build group is still in progress.

      STOPPED

      The build group stopped.

      SUCCEEDED

      The build group succeeded.

      TIMED_OUT

      The build group timed out.

      Parameters:
      buildStatus - The status of the build group.

      FAILED

      The build group failed.

      FAULT

      The build group faulted.

      IN_PROGRESS

      The build group is still in progress.

      STOPPED

      The build group stopped.

      SUCCEEDED

      The build group succeeded.

      TIMED_OUT

      The build group timed out.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • buildStatus

      BuildSummary.Builder buildStatus(StatusType buildStatus)

      The status of the build group.

      FAILED

      The build group failed.

      FAULT

      The build group faulted.

      IN_PROGRESS

      The build group is still in progress.

      STOPPED

      The build group stopped.

      SUCCEEDED

      The build group succeeded.

      TIMED_OUT

      The build group timed out.

      Parameters:
      buildStatus - The status of the build group.

      FAILED

      The build group failed.

      FAULT

      The build group faulted.

      IN_PROGRESS

      The build group is still in progress.

      STOPPED

      The build group stopped.

      SUCCEEDED

      The build group succeeded.

      TIMED_OUT

      The build group timed out.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primaryArtifact

      BuildSummary.Builder primaryArtifact(ResolvedArtifact primaryArtifact)

      A ResolvedArtifact object that represents the primary build artifacts for the build group.

      Parameters:
      primaryArtifact - A ResolvedArtifact object that represents the primary build artifacts for the build group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryArtifact

      default BuildSummary.Builder primaryArtifact(Consumer<ResolvedArtifact.Builder> primaryArtifact)

      A ResolvedArtifact object that represents the primary build artifacts for the build group.

      This is a convenience method that creates an instance of the ResolvedArtifact.Builder avoiding the need to create one manually via ResolvedArtifact.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to primaryArtifact(ResolvedArtifact).

      Parameters:
      primaryArtifact - a consumer that will call methods on ResolvedArtifact.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • secondaryArtifacts

      BuildSummary.Builder secondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)

      An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group.

      Parameters:
      secondaryArtifacts - An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondaryArtifacts

      BuildSummary.Builder secondaryArtifacts(ResolvedArtifact... secondaryArtifacts)

      An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group.

      Parameters:
      secondaryArtifacts - An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondaryArtifacts

      BuildSummary.Builder secondaryArtifacts(Consumer<ResolvedArtifact.Builder>... secondaryArtifacts)

      An array of ResolvedArtifact objects that represents the secondary build artifacts for the build group.

      This is a convenience method that creates an instance of the ResolvedArtifact.Builder avoiding the need to create one manually via ResolvedArtifact.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to secondaryArtifacts(List<ResolvedArtifact>).

      Parameters:
      secondaryArtifacts - a consumer that will call methods on ResolvedArtifact.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: