@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProjectStatus extends Object implements Serializable, Cloneable, StructuredPojo
An indication of whether a project creation or deletion is failed or successful.
Constructor and Description |
---|
ProjectStatus() |
Modifier and Type | Method and Description |
---|---|
ProjectStatus |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
In the case of a project creation or deletion failure, a reason for the failure.
|
String |
getState()
The phase of completion for a project creation or deletion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
In the case of a project creation or deletion failure, a reason for the failure.
|
void |
setState(String state)
The phase of completion for a project creation or deletion.
|
String |
toString()
Returns a string representation of this object.
|
ProjectStatus |
withReason(String reason)
In the case of a project creation or deletion failure, a reason for the failure.
|
ProjectStatus |
withState(String state)
The phase of completion for a project creation or deletion.
|
public void setState(String state)
The phase of completion for a project creation or deletion.
state
- The phase of completion for a project creation or deletion.public String getState()
The phase of completion for a project creation or deletion.
public ProjectStatus withState(String state)
The phase of completion for a project creation or deletion.
state
- The phase of completion for a project creation or deletion.public void setReason(String reason)
In the case of a project creation or deletion failure, a reason for the failure.
reason
- In the case of a project creation or deletion failure, a reason for the failure.public String getReason()
In the case of a project creation or deletion failure, a reason for the failure.
public ProjectStatus withReason(String reason)
In the case of a project creation or deletion failure, a reason for the failure.
reason
- In the case of a project creation or deletion failure, a reason for the failure.public String toString()
toString
in class Object
Object.toString()
public ProjectStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.