Interface BuildSummary.Builder

    • Method Detail

      • arn

        BuildSummary.Builder arn​(String 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:
        StatusType, StatusType
      • 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:
        StatusType, StatusType
      • 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.
      • 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.