Interface BuildBatchPhase.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BuildBatchPhase.Builder,BuildBatchPhase>,SdkBuilder<BuildBatchPhase.Builder,BuildBatchPhase>,SdkPojo
- Enclosing class:
- BuildBatchPhase
public static interface BuildBatchPhase.Builder extends SdkPojo, CopyableBuilder<BuildBatchPhase.Builder,BuildBatchPhase>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildBatchPhase.Buildercontexts(Collection<PhaseContext> contexts)Additional information about the batch build phase.BuildBatchPhase.Buildercontexts(Consumer<PhaseContext.Builder>... contexts)Additional information about the batch build phase.BuildBatchPhase.Buildercontexts(PhaseContext... contexts)Additional information about the batch build phase.BuildBatchPhase.BuilderdurationInSeconds(Long durationInSeconds)How long, in seconds, between the starting and ending times of the batch build's phase.BuildBatchPhase.BuilderendTime(Instant endTime)When the batch build phase ended, expressed in Unix time format.BuildBatchPhase.BuilderphaseStatus(String phaseStatus)The current status of the batch build phase.BuildBatchPhase.BuilderphaseStatus(StatusType phaseStatus)The current status of the batch build phase.BuildBatchPhase.BuilderphaseType(String phaseType)The name of the batch build phase.BuildBatchPhase.BuilderphaseType(BuildBatchPhaseType phaseType)The name of the batch build phase.BuildBatchPhase.BuilderstartTime(Instant startTime)When the batch 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
BuildBatchPhase.Builder phaseType(String phaseType)
The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
- Parameters:
phaseType- The name of the batch build phase. Valid values include:- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BuildBatchPhaseType,BuildBatchPhaseType
-
phaseType
BuildBatchPhase.Builder phaseType(BuildBatchPhaseType phaseType)
The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
- Parameters:
phaseType- The name of the batch build phase. Valid values include:- COMBINE_ARTIFACTS
-
Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
-
The batch build specification is being downloaded.
- FAILED
-
One or more of the builds failed.
- IN_PROGRESS
-
The batch build is in progress.
- STOPPED
-
The batch build was stopped.
- SUBMITTED
-
The btach build has been submitted.
- SUCCEEDED
-
The batch build succeeded.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BuildBatchPhaseType,BuildBatchPhaseType
-
phaseStatus
BuildBatchPhase.Builder phaseStatus(String phaseStatus)
The current status of the batch 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 batch 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
BuildBatchPhase.Builder phaseStatus(StatusType phaseStatus)
The current status of the batch 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 batch 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
BuildBatchPhase.Builder startTime(Instant startTime)
When the batch build phase started, expressed in Unix time format.
- Parameters:
startTime- When the batch build phase started, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
BuildBatchPhase.Builder endTime(Instant endTime)
When the batch build phase ended, expressed in Unix time format.
- Parameters:
endTime- When the batch build phase ended, expressed in Unix time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInSeconds
BuildBatchPhase.Builder durationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the batch build's phase.
- Parameters:
durationInSeconds- How long, in seconds, between the starting and ending times of the batch build's phase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildBatchPhase.Builder contexts(Collection<PhaseContext> contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
- Parameters:
contexts- Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildBatchPhase.Builder contexts(PhaseContext... contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
- Parameters:
contexts- Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contexts
BuildBatchPhase.Builder contexts(Consumer<PhaseContext.Builder>... contexts)
Additional information about the batch build phase. Especially to help troubleshoot a failed batch 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)
-
-