CopyableBuilder<BuildPhase.Builder,BuildPhase>
, SdkBuilder<BuildPhase.Builder,BuildPhase>
public static interface BuildPhase.Builder extends CopyableBuilder<BuildPhase.Builder,BuildPhase>
Modifier and Type | Method | Description |
---|---|---|
BuildPhase.Builder |
contexts(Collection<PhaseContext> contexts) |
Additional information about a build phase, especially to help troubleshoot a failed build.
|
BuildPhase.Builder |
contexts(PhaseContext... contexts) |
Additional information about a build phase, especially to help troubleshoot a failed build.
|
BuildPhase.Builder |
durationInSeconds(Long durationInSeconds) |
How long, in seconds, between the starting and ending times of the build's phase.
|
BuildPhase.Builder |
endTime(Date endTime) |
When the build phase ended, expressed in Unix time format.
|
BuildPhase.Builder |
phaseStatus(String phaseStatus) |
The current status of the build phase.
|
BuildPhase.Builder |
phaseStatus(StatusType phaseStatus) |
The current status of the build phase.
|
BuildPhase.Builder |
phaseType(String phaseType) |
The name of the build phase.
|
BuildPhase.Builder |
phaseType(BuildPhaseType phaseType) |
The name of the build phase.
|
BuildPhase.Builder |
startTime(Date startTime) |
When the build phase started, expressed in Unix time format.
|
copy
apply, build
BuildPhase.Builder phaseType(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.
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.
BuildPhaseType
BuildPhase.Builder phaseType(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.
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.
BuildPhaseType
BuildPhase.Builder phaseStatus(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.
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.
StatusType
BuildPhase.Builder phaseStatus(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.
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.
StatusType
BuildPhase.Builder startTime(Date startTime)
When the build phase started, expressed in Unix time format.
startTime
- When the build phase started, expressed in Unix time format.BuildPhase.Builder endTime(Date endTime)
When the build phase ended, expressed in Unix time format.
endTime
- When the build phase ended, expressed in Unix time format.BuildPhase.Builder durationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
durationInSeconds
- How long, in seconds, between the starting and ending times of the build's phase.BuildPhase.Builder contexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
contexts
- Additional information about a build phase, especially to help troubleshoot a failed build.BuildPhase.Builder contexts(PhaseContext... contexts)
Additional information about a build phase, especially to help troubleshoot a failed 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 a build phase, especially to help troubleshoot a failed build.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.