@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModificationState extends Object implements Serializable, Cloneable, StructuredPojo
Describes a WorkSpace modification.
| Constructor and Description |
|---|
ModificationState() |
| Modifier and Type | Method and Description |
|---|---|
ModificationState |
clone() |
boolean |
equals(Object obj) |
String |
getResource()
The resource.
|
String |
getState()
The modification state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResource(String resource)
The resource.
|
void |
setState(String state)
The modification state.
|
String |
toString()
Returns a string representation of this object.
|
ModificationState |
withResource(ModificationResourceEnum resource)
The resource.
|
ModificationState |
withResource(String resource)
The resource.
|
ModificationState |
withState(ModificationStateEnum state)
The modification state.
|
ModificationState |
withState(String state)
The modification state.
|
public void setResource(String resource)
The resource.
resource - The resource.ModificationResourceEnumpublic String getResource()
The resource.
ModificationResourceEnumpublic ModificationState withResource(String resource)
The resource.
resource - The resource.ModificationResourceEnumpublic ModificationState withResource(ModificationResourceEnum resource)
The resource.
resource - The resource.ModificationResourceEnumpublic void setState(String state)
The modification state.
state - The modification state.ModificationStateEnumpublic String getState()
The modification state.
ModificationStateEnumpublic ModificationState withState(String state)
The modification state.
state - The modification state.ModificationStateEnumpublic ModificationState withState(ModificationStateEnum state)
The modification state.
state - The modification state.ModificationStateEnumpublic String toString()
toString in class ObjectObject.toString()public ModificationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.