@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetContentStatus extends Object implements Serializable, Cloneable, StructuredPojo
The state of the dataset contents and the reason they are in this state.
Constructor and Description |
---|
DatasetContentStatus() |
Modifier and Type | Method and Description |
---|---|
DatasetContentStatus |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason the dataset contents are in this state.
|
String |
getState()
The state of the dataset contents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
The reason the dataset contents are in this state.
|
void |
setState(String state)
The state of the dataset contents.
|
String |
toString()
Returns a string representation of this object.
|
DatasetContentStatus |
withReason(String reason)
The reason the dataset contents are in this state.
|
DatasetContentStatus |
withState(DatasetContentState state)
The state of the dataset contents.
|
DatasetContentStatus |
withState(String state)
The state of the dataset contents.
|
public void setState(String state)
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
state
- The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.DatasetContentState
public String getState()
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
DatasetContentState
public DatasetContentStatus withState(String state)
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
state
- The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.DatasetContentState
public DatasetContentStatus withState(DatasetContentState state)
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
state
- The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.DatasetContentState
public void setReason(String reason)
The reason the dataset contents are in this state.
reason
- The reason the dataset contents are in this state.public String getReason()
The reason the dataset contents are in this state.
public DatasetContentStatus withReason(String reason)
The reason the dataset contents are in this state.
reason
- The reason the dataset contents are in this state.public String toString()
toString
in class Object
Object.toString()
public DatasetContentStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.