StructuredPojo
, ToCopyableBuilder<BuildPhase.Builder,BuildPhase>
@Generated("software.amazon.awssdk:codegen") public class BuildPhase extends Object implements StructuredPojo, ToCopyableBuilder<BuildPhase.Builder,BuildPhase>
Information about a stage for a build.
Modifier and Type | Class | Description |
---|---|---|
static interface |
BuildPhase.Builder |
Modifier and Type | Method | 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.
|
Date |
endTime() |
When the build phase ended, expressed in Unix time format.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
phaseStatus() |
The current status of the build phase.
|
String |
phaseType() |
The name of the build phase.
|
static Class<? extends BuildPhase.Builder> |
serializableBuilderClass() |
|
Date |
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() |
public String 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.
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 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.
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 Date startTime()
When the build phase started, expressed in Unix time format.
public Date 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.
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.