@Generated(value="software.amazon.awssdk:codegen") public final class BuildPhase extends Object implements StructuredPojo, ToCopyableBuilder<BuildPhase.Builder,BuildPhase>
Information about a stage for a build.
Modifier and Type | Class and Description |
---|---|
static interface |
BuildPhase.Builder |
Modifier and Type | Method and Description |
---|---|
static BuildPhase.Builder |
builder() |
List<PhaseContext> |
contexts()
Additional information about a build phase, especially to help troubleshoot a failed build.
|
Long |
durationInSeconds()
How long, in seconds, between the starting and ending times of the build's phase.
|
Instant |
endTime()
When the build phase ended, expressed in Unix time format.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
StatusType |
phaseStatus()
The current status of the build phase.
|
String |
phaseStatusAsString()
The current status of the build phase.
|
BuildPhaseType |
phaseType()
The name of the build phase.
|
String |
phaseTypeAsString()
The name of the build phase.
|
static Class<? extends BuildPhase.Builder> |
serializableBuilderClass() |
Instant |
startTime()
When the build phase started, expressed in Unix time format.
|
BuildPhase.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public BuildPhaseType phaseType()
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
If the service returns an enum value that is not available in the current SDK version, phaseType
will
return BuildPhaseType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
phaseTypeAsString()
.
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public String phaseTypeAsString()
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
If the service returns an enum value that is not available in the current SDK version, phaseType
will
return BuildPhaseType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
phaseTypeAsString()
.
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public StatusType phaseStatus()
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
If the service returns an enum value that is not available in the current SDK version, phaseStatus
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
phaseStatusAsString()
.
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public String phaseStatusAsString()
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
If the service returns an enum value that is not available in the current SDK version, phaseStatus
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
phaseStatusAsString()
.
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public Instant startTime()
When the build phase started, expressed in Unix time format.
public Instant endTime()
When the build phase ended, expressed in Unix time format.
public Long durationInSeconds()
How long, in seconds, between the starting and ending times of the build's phase.
public List<PhaseContext> contexts()
Additional information about a build phase, especially to help troubleshoot a failed build.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public BuildPhase.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BuildPhase.Builder,BuildPhase>
public static BuildPhase.Builder builder()
public static Class<? extends BuildPhase.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.