Interface BuildPhase.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BuildPhase.Builder,BuildPhase>,SdkBuilder<BuildPhase.Builder,BuildPhase>,SdkPojo
- Enclosing class:
- BuildPhase
public static interface BuildPhase.Builder extends SdkPojo, CopyableBuilder<BuildPhase.Builder,BuildPhase>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildPhase.Buildercontexts(Collection<PhaseContext> contexts)Additional information about a build phase, especially to help troubleshoot a failed build.BuildPhase.Buildercontexts(Consumer<PhaseContext.Builder>... contexts)Additional information about a build phase, especially to help troubleshoot a failed build.BuildPhase.Buildercontexts(PhaseContext... contexts)Additional information about a build phase, especially to help troubleshoot a failed build.BuildPhase.BuilderdurationInSeconds(Long durationInSeconds)How long, in seconds, between the starting and ending times of the build's phase.BuildPhase.BuilderendTime(Instant endTime)When the build phase ended, expressed in Unix time format.BuildPhase.BuilderphaseStatus(String phaseStatus)The current status of the build phase.BuildPhase.BuilderphaseStatus(StatusType phaseStatus)The current status of the build phase.BuildPhase.BuilderphaseType(String phaseType)The name of the build phase.BuildPhase.BuilderphaseType(BuildPhaseType phaseType)The name of the build phase.BuildPhase.BuilderstartTime(Instant startTime)When the build phase started, expressed in Unix time format.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
phaseType
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.
- QUEUED
-
The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
-
The build has been submitted.
- UPLOAD_ARTIFACTS
-
Build output artifacts are being uploaded to the output location.
- Parameters:
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.
- QUEUED
-
The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
-
The build has been submitted.
- UPLOAD_ARTIFACTS
-
Build output artifacts are being uploaded to the output location.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BuildPhaseType,BuildPhaseType
-
phaseType
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.
- QUEUED
-
The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
-
The build has been submitted.
- UPLOAD_ARTIFACTS
-
Build output artifacts are being uploaded to the output location.
- Parameters:
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.
- QUEUED
-
The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
-
The build has been submitted.
- UPLOAD_ARTIFACTS
-
Build output artifacts are being uploaded to the output location.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BuildPhaseType,BuildPhaseType
-
phaseStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
phaseStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
startTime
BuildPhase.Builder startTime(Instant startTime)
When the build phase started, expressed in Unix time format.
- Parameters:
startTime- When the build phase started, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
BuildPhase.Builder endTime(Instant endTime)
When the build phase ended, expressed in Unix time format.
- Parameters:
endTime- When the build phase ended, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
BuildPhase.Builder durationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
- Parameters:
durationInSeconds- How long, in seconds, between the starting and ending times of the build's phase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildPhase.Builder contexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
- Parameters:
contexts- Additional information about a build phase, especially to help troubleshoot a failed build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildPhase.Builder contexts(PhaseContext... contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
- Parameters:
contexts- Additional information about a build phase, especially to help troubleshoot a failed build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildPhase.Builder contexts(Consumer<PhaseContext.Builder>... contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
This is a convenience method that creates an instance of thePhaseContext.Builderavoiding the need to create one manually viaPhaseContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contexts(List.) - Parameters:
contexts- a consumer that will call methods onPhaseContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contexts(java.util.Collection)
-
-