@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AcceptShareResult() |
| Modifier and Type | Method and Description |
|---|---|
AcceptShareResult |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the resource share.
|
int |
hashCode() |
void |
setStatus(String status)
The status of the resource share.
|
String |
toString()
Returns a string representation of this object.
|
AcceptShareResult |
withStatus(ShareStatus status)
The status of the resource share.
|
AcceptShareResult |
withStatus(String status)
The status of the resource share.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setStatus(String status)
The status of the resource share.
status - The status of the resource share.ShareStatuspublic String getStatus()
The status of the resource share.
ShareStatuspublic AcceptShareResult withStatus(String status)
The status of the resource share.
status - The status of the resource share.ShareStatuspublic AcceptShareResult withStatus(ShareStatus status)
The status of the resource share.
status - The status of the resource share.ShareStatuspublic String toString()
toString in class ObjectObject.toString()public AcceptShareResult clone()