@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, setSdkResponseMetadata
public void setStatus(String status)
The status of the resource share.
status
- The status of the resource share.ShareStatus
public String getStatus()
The status of the resource share.
ShareStatus
public AcceptShareResult withStatus(String status)
The status of the resource share.
status
- The status of the resource share.ShareStatus
public AcceptShareResult withStatus(ShareStatus status)
The status of the resource share.
status
- The status of the resource share.ShareStatus
public String toString()
toString
in class Object
Object.toString()
public AcceptShareResult clone()