@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetShareResult() |
| Modifier and Type | Method and Description |
|---|---|
GetShareResult |
clone() |
boolean |
equals(Object obj) |
ShareDetails |
getShare()
A resource share details object.
|
int |
hashCode() |
void |
setShare(ShareDetails share)
A resource share details object.
|
String |
toString()
Returns a string representation of this object.
|
GetShareResult |
withShare(ShareDetails share)
A resource share details object.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setShare(ShareDetails share)
A resource share details object. The object includes the status, the resourceArn, and ownerId.
share - A resource share details object. The object includes the status, the resourceArn, and ownerId.public ShareDetails getShare()
A resource share details object. The object includes the status, the resourceArn, and ownerId.
public GetShareResult withShare(ShareDetails share)
A resource share details object. The object includes the status, the resourceArn, and ownerId.
share - A resource share details object. The object includes the status, the resourceArn, and ownerId.public String toString()
toString in class ObjectObject.toString()public GetShareResult clone()