Class EnvironmentLifecycle
- java.lang.Object
-
- software.amazon.awssdk.services.cloud9.model.EnvironmentLifecycle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentLifecycle.Builder,EnvironmentLifecycle>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentLifecycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentLifecycle.Builder,EnvironmentLifecycle>
Information about the current creation or deletion lifecycle state of an Cloud9 development environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentLifecycle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvironmentLifecycle.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureResource()If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringreason()Any informational message about the lifecycle state of the environment.List<SdkField<?>>sdkFields()static Class<? extends EnvironmentLifecycle.Builder>serializableBuilderClass()EnvironmentLifecycleStatusstatus()The current creation or deletion lifecycle state of the environment.StringstatusAsString()The current creation or deletion lifecycle state of the environment.EnvironmentLifecycle.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
-
status
public final EnvironmentLifecycleStatus status()
The current creation or deletion lifecycle state of the environment.
-
CREATING: The environment is in the process of being created. -
CREATED: The environment was successfully created. -
CREATE_FAILED: The environment failed to be created. -
DELETING: The environment is in the process of being deleted. -
DELETE_FAILED: The environment failed to delete.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentLifecycleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current creation or deletion lifecycle state of the environment.
-
CREATING: The environment is in the process of being created. -
CREATED: The environment was successfully created. -
CREATE_FAILED: The environment failed to be created. -
DELETING: The environment is in the process of being deleted. -
DELETE_FAILED: The environment failed to delete.
-
- See Also:
EnvironmentLifecycleStatus
-
-
statusAsString
public final String statusAsString()
The current creation or deletion lifecycle state of the environment.
-
CREATING: The environment is in the process of being created. -
CREATED: The environment was successfully created. -
CREATE_FAILED: The environment failed to be created. -
DELETING: The environment is in the process of being deleted. -
DELETE_FAILED: The environment failed to delete.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentLifecycleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current creation or deletion lifecycle state of the environment.
-
CREATING: The environment is in the process of being created. -
CREATED: The environment was successfully created. -
CREATE_FAILED: The environment failed to be created. -
DELETING: The environment is in the process of being deleted. -
DELETE_FAILED: The environment failed to delete.
-
- See Also:
EnvironmentLifecycleStatus
-
-
reason
public final String reason()
Any informational message about the lifecycle state of the environment.
- Returns:
- Any informational message about the lifecycle state of the environment.
-
failureResource
public final String failureResource()
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
- Returns:
- If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
-
toBuilder
public EnvironmentLifecycle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentLifecycle.Builder,EnvironmentLifecycle>
-
builder
public static EnvironmentLifecycle.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentLifecycle.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.
-
-