@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about a batch build group.
Constructor and Description |
---|
BuildSummary() |
Modifier and Type | Method and Description |
---|---|
BuildSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The batch build ARN.
|
String |
getBuildStatus()
The status of the build group.
|
ResolvedArtifact |
getPrimaryArtifact()
A
ResolvedArtifact object that represents the primary build artifacts for the build group. |
Date |
getRequestedOn()
When the build was started, expressed in Unix time format.
|
List<ResolvedArtifact> |
getSecondaryArtifacts()
An array of
ResolvedArtifact objects that represents the secondary build artifacts for the build
group. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The batch build ARN.
|
void |
setBuildStatus(String buildStatus)
The status of the build group.
|
void |
setPrimaryArtifact(ResolvedArtifact primaryArtifact)
A
ResolvedArtifact object that represents the primary build artifacts for the build group. |
void |
setRequestedOn(Date requestedOn)
When the build was started, expressed in Unix time format.
|
void |
setSecondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)
An array of
ResolvedArtifact objects that represents the secondary build artifacts for the build
group. |
String |
toString()
Returns a string representation of this object.
|
BuildSummary |
withArn(String arn)
The batch build ARN.
|
BuildSummary |
withBuildStatus(StatusType buildStatus)
The status of the build group.
|
BuildSummary |
withBuildStatus(String buildStatus)
The status of the build group.
|
BuildSummary |
withPrimaryArtifact(ResolvedArtifact primaryArtifact)
A
ResolvedArtifact object that represents the primary build artifacts for the build group. |
BuildSummary |
withRequestedOn(Date requestedOn)
When the build was started, expressed in Unix time format.
|
BuildSummary |
withSecondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)
An array of
ResolvedArtifact objects that represents the secondary build artifacts for the build
group. |
BuildSummary |
withSecondaryArtifacts(ResolvedArtifact... secondaryArtifacts)
An array of
ResolvedArtifact objects that represents the secondary build artifacts for the build
group. |
public void setArn(String arn)
The batch build ARN.
arn
- The batch build ARN.public String getArn()
The batch build ARN.
public BuildSummary withArn(String arn)
The batch build ARN.
arn
- The batch build ARN.public void setRequestedOn(Date requestedOn)
When the build was started, expressed in Unix time format.
requestedOn
- When the build was started, expressed in Unix time format.public Date getRequestedOn()
When the build was started, expressed in Unix time format.
public BuildSummary withRequestedOn(Date requestedOn)
When the build was started, expressed in Unix time format.
requestedOn
- When the build was started, expressed in Unix time format.public void setBuildStatus(String buildStatus)
The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
buildStatus
- The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
StatusType
public String getBuildStatus()
The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
StatusType
public BuildSummary withBuildStatus(String buildStatus)
The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
buildStatus
- The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
StatusType
public BuildSummary withBuildStatus(StatusType buildStatus)
The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
buildStatus
- The status of the build group.
The build group failed.
The build group faulted.
The build group is still in progress.
The build group stopped.
The build group succeeded.
The build group timed out.
StatusType
public void setPrimaryArtifact(ResolvedArtifact primaryArtifact)
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
primaryArtifact
- A ResolvedArtifact
object that represents the primary build artifacts for the build group.public ResolvedArtifact getPrimaryArtifact()
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
ResolvedArtifact
object that represents the primary build artifacts for the build group.public BuildSummary withPrimaryArtifact(ResolvedArtifact primaryArtifact)
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
primaryArtifact
- A ResolvedArtifact
object that represents the primary build artifacts for the build group.public List<ResolvedArtifact> getSecondaryArtifacts()
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build
group.
ResolvedArtifact
objects that represents the secondary build artifacts for the
build group.public void setSecondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build
group.
secondaryArtifacts
- An array of ResolvedArtifact
objects that represents the secondary build artifacts for the
build group.public BuildSummary withSecondaryArtifacts(ResolvedArtifact... secondaryArtifacts)
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build
group.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryArtifacts(java.util.Collection)
or withSecondaryArtifacts(java.util.Collection)
if
you want to override the existing values.
secondaryArtifacts
- An array of ResolvedArtifact
objects that represents the secondary build artifacts for the
build group.public BuildSummary withSecondaryArtifacts(Collection<ResolvedArtifact> secondaryArtifacts)
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build
group.
secondaryArtifacts
- An array of ResolvedArtifact
objects that represents the secondary build artifacts for the
build group.public String toString()
toString
in class Object
Object.toString()
public BuildSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.