Class FleetStatus
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.FleetStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FleetStatus.Builder,FleetStatus>
@Generated("software.amazon.awssdk:codegen") public final class FleetStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetStatus.Builder,FleetStatus>
The status of the compute fleet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFleetStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetStatus.Builderbuilder()FleetContextCodecontext()Additional information about a compute fleet.StringcontextAsString()Additional information about a compute fleet.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()A message associated with the status of a compute fleet.List<SdkField<?>>sdkFields()static Class<? extends FleetStatus.Builder>serializableBuilderClass()FleetStatusCodestatusCode()The status code of the compute fleet.StringstatusCodeAsString()The status code of the compute fleet.FleetStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
statusCode
public final FleetStatusCode statusCode()
The status code of the compute fleet. Valid values include:
-
CREATING: The compute fleet is being created. -
UPDATING: The compute fleet is being updated. -
ROTATING: The compute fleet is being rotated. -
DELETING: The compute fleet is being deleted. -
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE: The compute fleet has succeeded and is active.
If the service returns an enum value that is not available in the current SDK version,
statusCode()will returnFleetStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The status code of the compute fleet. Valid values include:
-
CREATING: The compute fleet is being created. -
UPDATING: The compute fleet is being updated. -
ROTATING: The compute fleet is being rotated. -
DELETING: The compute fleet is being deleted. -
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE: The compute fleet has succeeded and is active.
-
- See Also:
FleetStatusCode
-
-
statusCodeAsString
public final String statusCodeAsString()
The status code of the compute fleet. Valid values include:
-
CREATING: The compute fleet is being created. -
UPDATING: The compute fleet is being updated. -
ROTATING: The compute fleet is being rotated. -
DELETING: The compute fleet is being deleted. -
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE: The compute fleet has succeeded and is active.
If the service returns an enum value that is not available in the current SDK version,
statusCode()will returnFleetStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The status code of the compute fleet. Valid values include:
-
CREATING: The compute fleet is being created. -
UPDATING: The compute fleet is being updated. -
ROTATING: The compute fleet is being rotated. -
DELETING: The compute fleet is being deleted. -
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. -
ACTIVE: The compute fleet has succeeded and is active.
-
- See Also:
FleetStatusCode
-
-
context
public final FleetContextCode context()
Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_FAILED: The compute fleet has failed to update.
If the service returns an enum value that is not available in the current SDK version,
contextwill returnFleetContextCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontextAsString().- Returns:
- Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_FAILED: The compute fleet has failed to update.
-
- See Also:
FleetContextCode
-
-
contextAsString
public final String contextAsString()
Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_FAILED: The compute fleet has failed to update.
If the service returns an enum value that is not available in the current SDK version,
contextwill returnFleetContextCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontextAsString().- Returns:
- Additional information about a compute fleet. Valid values include:
-
CREATE_FAILED: The compute fleet has failed to create. -
UPDATE_FAILED: The compute fleet has failed to update.
-
- See Also:
FleetContextCode
-
-
message
public final String message()
A message associated with the status of a compute fleet.
- Returns:
- A message associated with the status of a compute fleet.
-
toBuilder
public FleetStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FleetStatus.Builder,FleetStatus>
-
builder
public static FleetStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends FleetStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-