@Generated(value="software.amazon.awssdk:codegen") public class DescribeEnvironmentStatusResponse extends Cloud9Response implements ToCopyableBuilder<DescribeEnvironmentStatusResponse.Builder,DescribeEnvironmentStatusResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeEnvironmentStatusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeEnvironmentStatusResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
int |
hashCode() |
String |
message()
Any informational message about the status of the environment.
|
static Class<? extends DescribeEnvironmentStatusResponse.Builder> |
serializableBuilderClass() |
EnvironmentStatus |
status()
The status of the environment.
|
String |
statusAsString()
The status of the environment.
|
DescribeEnvironmentStatusResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponsecopypublic 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, status will
return EnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.
EnvironmentStatuspublic 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, status will
return EnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.
EnvironmentStatuspublic String message()
Any informational message about the status of the environment.
public DescribeEnvironmentStatusResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DescribeEnvironmentStatusResponse.Builder,DescribeEnvironmentStatusResponse>toBuilder in class AwsResponsepublic static DescribeEnvironmentStatusResponse.Builder builder()
public static Class<? extends DescribeEnvironmentStatusResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.