@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.LastUpdateStatusValue
public String getStatus()
A value that indicates whether the update was made successful.
LastUpdateStatusValue
public 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.LastUpdateStatusValue
public 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.LastUpdateStatusValue
public 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 Object
Object.toString()
public LastUpdateStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.