Class DescribeEnvironmentStatusResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.cloud9.model.Cloud9Response
-
- software.amazon.awssdk.services.cloud9.model.DescribeEnvironmentStatusResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeEnvironmentStatusResponse.Builder,DescribeEnvironmentStatusResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeEnvironmentStatusResponse extends Cloud9Response implements ToCopyableBuilder<DescribeEnvironmentStatusResponse.Builder,DescribeEnvironmentStatusResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeEnvironmentStatusResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeEnvironmentStatusResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()Any informational message about the status of the environment.List<SdkField<?>>sdkFields()static Class<? extends DescribeEnvironmentStatusResponse.Builder>serializableBuilderClass()EnvironmentStatusstatus()The status of the environment.StringstatusAsString()The status of the environment.DescribeEnvironmentStatusResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.cloud9.model.Cloud9Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 EnvironmentStatus status()
The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
-
- See Also:
EnvironmentStatus
-
-
statusAsString
public final String statusAsString()
The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment. Available values include:
-
connecting: The environment is connecting. -
creating: The environment is being created. -
deleting: The environment is being deleted. -
error: The environment is in an error state. -
ready: The environment is ready. -
stopped: The environment is stopped. -
stopping: The environment is stopping.
-
- See Also:
EnvironmentStatus
-
-
message
public final String message()
Any informational message about the status of the environment.
- Returns:
- Any informational message about the status of the environment.
-
toBuilder
public DescribeEnvironmentStatusResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeEnvironmentStatusResponse.Builder,DescribeEnvironmentStatusResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeEnvironmentStatusResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeEnvironmentStatusResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-