@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromotePermissionCreatedFromPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PromotePermissionCreatedFromPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PromotePermissionCreatedFromPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency identifier associated with this request.
|
ResourceSharePermissionSummary |
getPermission() |
int |
hashCode() |
void |
setClientToken(String clientToken)
The idempotency identifier associated with this request.
|
void |
setPermission(ResourceSharePermissionSummary permission) |
String |
toString()
Returns a string representation of this object.
|
PromotePermissionCreatedFromPolicyResult |
withClientToken(String clientToken)
The idempotency identifier associated with this request.
|
PromotePermissionCreatedFromPolicyResult |
withPermission(ResourceSharePermissionSummary permission) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public PromotePermissionCreatedFromPolicyResult()
public void setPermission(ResourceSharePermissionSummary permission)
permission
- public ResourceSharePermissionSummary getPermission()
public PromotePermissionCreatedFromPolicyResult withPermission(ResourceSharePermissionSummary permission)
permission
- 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 PromotePermissionCreatedFromPolicyResult 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 Object
Object.toString()
public PromotePermissionCreatedFromPolicyResult clone()