@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceShareResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateResourceShareResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateResourceShareResult |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency identifier associated with this request.
|
ResourceShare |
getResourceShare()
An object with information about the new resource share.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The idempotency identifier associated with this request.
|
void |
setResourceShare(ResourceShare resourceShare)
An object with information about the new resource share.
|
String |
toString()
Returns a string representation of this object.
|
CreateResourceShareResult |
withClientToken(String clientToken)
The idempotency identifier associated with this request.
|
CreateResourceShareResult |
withResourceShare(ResourceShare resourceShare)
An object with information about the new resource share.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceShare(ResourceShare resourceShare)
An object with information about the new resource share.
resourceShare - An object with information about the new resource share.public ResourceShare getResourceShare()
An object with information about the new resource share.
public CreateResourceShareResult withResourceShare(ResourceShare resourceShare)
An object with information about the new resource share.
resourceShare - An object with information about the new resource share.public void setClientToken(String clientToken)
The idempotency identifier associated with this request. If you want to repeat the same operation in an
idempotent manner then you must include this value in the clientToken request parameter of that
later call. All other parameters must also have the same values that you used in the first call.
clientToken - The idempotency identifier associated with this request. If you want to repeat the same operation in an
idempotent manner then you must include this value in the clientToken request parameter of
that later call. All other parameters must also have the same values that you used in the first call.public String getClientToken()
The idempotency identifier associated with this request. If you want to repeat the same operation in an
idempotent manner then you must include this value in the clientToken request parameter of that
later call. All other parameters must also have the same values that you used in the first call.
clientToken request parameter of
that later call. All other parameters must also have the same values that you used in the first call.public CreateResourceShareResult withClientToken(String clientToken)
The idempotency identifier associated with this request. If you want to repeat the same operation in an
idempotent manner then you must include this value in the clientToken request parameter of that
later call. All other parameters must also have the same values that you used in the first call.
clientToken - The idempotency identifier associated with this request. If you want to repeat the same operation in an
idempotent manner then you must include this value in the clientToken request parameter of
that later call. All other parameters must also have the same values that you used in the first call.public String toString()
toString in class ObjectObject.toString()public CreateResourceShareResult clone()