@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptionStatus extends Object implements Serializable, Cloneable, StructuredPojo
Provides the current status of an entity.
Constructor and Description |
---|
OptionStatus() |
Modifier and Type | Method and Description |
---|---|
OptionStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The timestamp when the entity was created.
|
Boolean |
getPendingDeletion()
Indicates whether the entity is being deleted.
|
String |
getState()
The state of the entity.
|
Date |
getUpdateDate()
The timestamp of the last time the entity was updated.
|
Integer |
getUpdateVersion()
The latest version of the entity.
|
int |
hashCode() |
Boolean |
isPendingDeletion()
Indicates whether the entity is being deleted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The timestamp when the entity was created.
|
void |
setPendingDeletion(Boolean pendingDeletion)
Indicates whether the entity is being deleted.
|
void |
setState(String state)
The state of the entity.
|
void |
setUpdateDate(Date updateDate)
The timestamp of the last time the entity was updated.
|
void |
setUpdateVersion(Integer updateVersion)
The latest version of the entity.
|
String |
toString()
Returns a string representation of this object.
|
OptionStatus |
withCreationDate(Date creationDate)
The timestamp when the entity was created.
|
OptionStatus |
withPendingDeletion(Boolean pendingDeletion)
Indicates whether the entity is being deleted.
|
OptionStatus |
withState(OptionState state)
The state of the entity.
|
OptionStatus |
withState(String state)
The state of the entity.
|
OptionStatus |
withUpdateDate(Date updateDate)
The timestamp of the last time the entity was updated.
|
OptionStatus |
withUpdateVersion(Integer updateVersion)
The latest version of the entity.
|
public void setCreationDate(Date creationDate)
The timestamp when the entity was created.
creationDate
- The timestamp when the entity was created.public Date getCreationDate()
The timestamp when the entity was created.
public OptionStatus withCreationDate(Date creationDate)
The timestamp when the entity was created.
creationDate
- The timestamp when the entity was created.public void setUpdateDate(Date updateDate)
The timestamp of the last time the entity was updated.
updateDate
- The timestamp of the last time the entity was updated.public Date getUpdateDate()
The timestamp of the last time the entity was updated.
public OptionStatus withUpdateDate(Date updateDate)
The timestamp of the last time the entity was updated.
updateDate
- The timestamp of the last time the entity was updated.public void setUpdateVersion(Integer updateVersion)
The latest version of the entity.
updateVersion
- The latest version of the entity.public Integer getUpdateVersion()
The latest version of the entity.
public OptionStatus withUpdateVersion(Integer updateVersion)
The latest version of the entity.
updateVersion
- The latest version of the entity.public void setState(String state)
The state of the entity.
state
- The state of the entity.OptionState
public String getState()
The state of the entity.
OptionState
public OptionStatus withState(String state)
The state of the entity.
state
- The state of the entity.OptionState
public OptionStatus withState(OptionState state)
The state of the entity.
state
- The state of the entity.OptionState
public void setPendingDeletion(Boolean pendingDeletion)
Indicates whether the entity is being deleted.
pendingDeletion
- Indicates whether the entity is being deleted.public Boolean getPendingDeletion()
Indicates whether the entity is being deleted.
public OptionStatus withPendingDeletion(Boolean pendingDeletion)
Indicates whether the entity is being deleted.
pendingDeletion
- Indicates whether the entity is being deleted.public Boolean isPendingDeletion()
Indicates whether the entity is being deleted.
public String toString()
toString
in class Object
Object.toString()
public OptionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.