@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentLifecycle extends Object implements Serializable, Cloneable, StructuredPojo
Information about the current creation or deletion lifecycle state of an Cloud9 development environment.
Constructor and Description |
---|
EnvironmentLifecycle() |
Modifier and Type | Method and Description |
---|---|
EnvironmentLifecycle |
clone() |
boolean |
equals(Object obj) |
String |
getFailureResource()
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
|
String |
getReason()
Any informational message about the lifecycle state of the environment.
|
String |
getStatus()
The current creation or deletion lifecycle state of the environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureResource(String failureResource)
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
|
void |
setReason(String reason)
Any informational message about the lifecycle state of the environment.
|
void |
setStatus(String status)
The current creation or deletion lifecycle state of the environment.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentLifecycle |
withFailureResource(String failureResource)
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
|
EnvironmentLifecycle |
withReason(String reason)
Any informational message about the lifecycle state of the environment.
|
EnvironmentLifecycle |
withStatus(EnvironmentLifecycleStatus status)
The current creation or deletion lifecycle state of the environment.
|
EnvironmentLifecycle |
withStatus(String status)
The current creation or deletion lifecycle state of the environment.
|
public void setStatus(String 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.
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.
EnvironmentLifecycleStatus
public String getStatus()
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.
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.
EnvironmentLifecycleStatus
public EnvironmentLifecycle withStatus(String 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.
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.
EnvironmentLifecycleStatus
public EnvironmentLifecycle withStatus(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.
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.
EnvironmentLifecycleStatus
public void setReason(String reason)
Any informational message about the lifecycle state of the environment.
reason
- Any informational message about the lifecycle state of the environment.public String getReason()
Any informational message about the lifecycle state of the environment.
public EnvironmentLifecycle withReason(String reason)
Any informational message about the lifecycle state of the environment.
reason
- Any informational message about the lifecycle state of the environment.public void setFailureResource(String failureResource)
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
failureResource
- If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services
resource.public String getFailureResource()
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
public EnvironmentLifecycle withFailureResource(String failureResource)
If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services resource.
failureResource
- If the environment failed to delete, the Amazon Resource Name (ARN) of the related Amazon Web Services
resource.public String toString()
toString
in class Object
Object.toString()
public EnvironmentLifecycle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.