@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastUpdateStatus extends Object implements Serializable, Cloneable, StructuredPojo
A value that indicates whether the update was successful.
| Constructor and Description |
|---|
LastUpdateStatus() |
| Modifier and Type | Method and Description |
|---|---|
LastUpdateStatus |
clone() |
boolean |
equals(Object obj) |
String |
getFailureReason()
If the update wasn't successful, indicates the reason why it failed.
|
String |
getStatus()
A value that indicates whether the update was made successful.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFailureReason(String failureReason)
If the update wasn't successful, indicates the reason why it failed.
|
void |
setStatus(String status)
A value that indicates whether the update was made successful.
|
String |
toString()
Returns a string representation of this object.
|
LastUpdateStatus |
withFailureReason(String failureReason)
If the update wasn't successful, indicates the reason why it failed.
|
LastUpdateStatus |
withStatus(LastUpdateStatusValue status)
A value that indicates whether the update was made successful.
|
LastUpdateStatus |
withStatus(String status)
A value that indicates whether the update was made successful.
|
public void setStatus(String status)
A value that indicates whether the update was made successful.
status - A value that indicates whether the update was made successful.LastUpdateStatusValuepublic String getStatus()
A value that indicates whether the update was made successful.
LastUpdateStatusValuepublic LastUpdateStatus withStatus(String status)
A value that indicates whether the update was made successful.
status - A value that indicates whether the update was made successful.LastUpdateStatusValuepublic LastUpdateStatus withStatus(LastUpdateStatusValue status)
A value that indicates whether the update was made successful.
status - A value that indicates whether the update was made successful.LastUpdateStatusValuepublic void setFailureReason(String failureReason)
If the update wasn't successful, indicates the reason why it failed.
failureReason - If the update wasn't successful, indicates the reason why it failed.public String getFailureReason()
If the update wasn't successful, indicates the reason why it failed.
public LastUpdateStatus withFailureReason(String failureReason)
If the update wasn't successful, indicates the reason why it failed.
failureReason - If the update wasn't successful, indicates the reason why it failed.public String toString()
toString in class ObjectObject.toString()public LastUpdateStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.