Class EnvironmentLifecycle
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EnvironmentLifecycle.Builder,
EnvironmentLifecycle>
Information about the current creation or deletion lifecycle state of an Cloud9 development environment.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentLifecycle.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
reason()
Any informational message about the lifecycle state of the environment.static Class
<? extends EnvironmentLifecycle.Builder> status()
The current creation or deletion lifecycle state of the environment.final String
The current creation or deletion lifecycle state of the environment.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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,
status
will 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:
-
-
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,
status
will 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:
-
-
reason
Any informational message about the lifecycle state of the environment.
- Returns:
- Any informational message about the lifecycle state of the environment.
-
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<EnvironmentLifecycle.Builder,
EnvironmentLifecycle> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-