@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildBatchPhase extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a stage for a batch build.
Constructor and Description |
---|
BuildBatchPhase() |
Modifier and Type | Method and Description |
---|---|
BuildBatchPhase |
clone() |
boolean |
equals(Object obj) |
List<PhaseContext> |
getContexts()
Additional information about the batch build phase.
|
Long |
getDurationInSeconds()
How long, in seconds, between the starting and ending times of the batch build's phase.
|
Date |
getEndTime()
When the batch build phase ended, expressed in Unix time format.
|
String |
getPhaseStatus()
The current status of the batch build phase.
|
String |
getPhaseType()
The name of the batch build phase.
|
Date |
getStartTime()
When the batch build phase started, expressed in Unix time format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContexts(Collection<PhaseContext> contexts)
Additional information about the batch build phase.
|
void |
setDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the batch build's phase.
|
void |
setEndTime(Date endTime)
When the batch build phase ended, expressed in Unix time format.
|
void |
setPhaseStatus(String phaseStatus)
The current status of the batch build phase.
|
void |
setPhaseType(String phaseType)
The name of the batch build phase.
|
void |
setStartTime(Date startTime)
When the batch build phase started, expressed in Unix time format.
|
String |
toString()
Returns a string representation of this object.
|
BuildBatchPhase |
withContexts(Collection<PhaseContext> contexts)
Additional information about the batch build phase.
|
BuildBatchPhase |
withContexts(PhaseContext... contexts)
Additional information about the batch build phase.
|
BuildBatchPhase |
withDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the batch build's phase.
|
BuildBatchPhase |
withEndTime(Date endTime)
When the batch build phase ended, expressed in Unix time format.
|
BuildBatchPhase |
withPhaseStatus(StatusType phaseStatus)
The current status of the batch build phase.
|
BuildBatchPhase |
withPhaseStatus(String phaseStatus)
The current status of the batch build phase.
|
BuildBatchPhase |
withPhaseType(BuildBatchPhaseType phaseType)
The name of the batch build phase.
|
BuildBatchPhase |
withPhaseType(String phaseType)
The name of the batch build phase.
|
BuildBatchPhase |
withStartTime(Date startTime)
When the batch build phase started, expressed in Unix time format.
|
public void setPhaseType(String phaseType)
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
phaseType
- The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseType
public String getPhaseType()
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseType
public BuildBatchPhase withPhaseType(String phaseType)
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
phaseType
- The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseType
public BuildBatchPhase withPhaseType(BuildBatchPhaseType phaseType)
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
phaseType
- The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseType
public void setPhaseStatus(String phaseStatus)
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public String getPhaseStatus()
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public BuildBatchPhase withPhaseStatus(String phaseStatus)
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public BuildBatchPhase withPhaseStatus(StatusType phaseStatus)
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public void setStartTime(Date startTime)
When the batch build phase started, expressed in Unix time format.
startTime
- When the batch build phase started, expressed in Unix time format.public Date getStartTime()
When the batch build phase started, expressed in Unix time format.
public BuildBatchPhase withStartTime(Date startTime)
When the batch build phase started, expressed in Unix time format.
startTime
- When the batch build phase started, expressed in Unix time format.public void setEndTime(Date endTime)
When the batch build phase ended, expressed in Unix time format.
endTime
- When the batch build phase ended, expressed in Unix time format.public Date getEndTime()
When the batch build phase ended, expressed in Unix time format.
public BuildBatchPhase withEndTime(Date endTime)
When the batch build phase ended, expressed in Unix time format.
endTime
- When the batch build phase ended, expressed in Unix time format.public void setDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the batch build's phase.
durationInSeconds
- How long, in seconds, between the starting and ending times of the batch build's phase.public Long getDurationInSeconds()
How long, in seconds, between the starting and ending times of the batch build's phase.
public BuildBatchPhase withDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the batch build's phase.
durationInSeconds
- How long, in seconds, between the starting and ending times of the batch build's phase.public List<PhaseContext> getContexts()
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
public void setContexts(Collection<PhaseContext> contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
contexts
- Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.public BuildBatchPhase withContexts(PhaseContext... contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
NOTE: This method appends the values to the existing list (if any). Use
setContexts(java.util.Collection)
or withContexts(java.util.Collection)
if you want to override
the existing values.
contexts
- Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.public BuildBatchPhase withContexts(Collection<PhaseContext> contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
contexts
- Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.public String toString()
toString
in class Object
Object.toString()
public BuildBatchPhase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.