@Generated(value="software.amazon.awssdk:codegen") public final class BuildBatchPhase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BuildBatchPhase.Builder,BuildBatchPhase>
Contains information about a stage for a batch build.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BuildBatchPhase.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BuildBatchPhase.Builder |
builder() |
List<PhaseContext> |
contexts()
Additional information about the batch build phase.
|
Long |
durationInSeconds()
How long, in seconds, between the starting and ending times of the batch build's phase.
|
Instant |
endTime()
When the batch build phase ended, expressed in Unix time format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasContexts()
For responses, this returns true if the service returned a value for the Contexts property.
|
int |
hashCode() |
StatusType |
phaseStatus()
The current status of the batch build phase.
|
String |
phaseStatusAsString()
The current status of the batch build phase.
|
BuildBatchPhaseType |
phaseType()
The name of the batch build phase.
|
String |
phaseTypeAsString()
The name of the batch build phase.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BuildBatchPhase.Builder> |
serializableBuilderClass() |
Instant |
startTime()
When the batch build phase started, expressed in Unix time format.
|
BuildBatchPhase.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BuildBatchPhaseType phaseType()
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
If the service returns an enum value that is not available in the current SDK version, phaseType will
return BuildBatchPhaseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phaseTypeAsString().
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseTypepublic final String phaseTypeAsString()
The name of the batch build phase. Valid values include:
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
If the service returns an enum value that is not available in the current SDK version, phaseType will
return BuildBatchPhaseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phaseTypeAsString().
Build output artifacts are being combined and uploaded to the output location.
The batch build specification is being downloaded.
One or more of the builds failed.
The batch build is in progress.
The batch build was stopped.
The btach build has been submitted.
The batch build succeeded.
BuildBatchPhaseTypepublic final StatusType phaseStatus()
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
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().
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusTypepublic final String phaseStatusAsString()
The current status of the batch build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
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().
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusTypepublic final Instant startTime()
When the batch build phase started, expressed in Unix time format.
public final Instant endTime()
When the batch build phase ended, expressed in Unix time format.
public final Long durationInSeconds()
How long, in seconds, between the starting and ending times of the batch build's phase.
public final boolean hasContexts()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<PhaseContext> contexts()
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasContexts() method.
public BuildBatchPhase.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BuildBatchPhase.Builder,BuildBatchPhase>public static BuildBatchPhase.Builder builder()
public static Class<? extends BuildBatchPhase.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.