@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceSharePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateResourceSharePermissionRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateResourceSharePermissionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPermissionArn()
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
|
Integer |
getPermissionVersion()
The version of the AWS RAM permissions to associate with the resource share.
|
Boolean |
getReplace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
int |
hashCode() |
Boolean |
isReplace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
|
void |
setPermissionVersion(Integer permissionVersion)
The version of the AWS RAM permissions to associate with the resource share.
|
void |
setReplace(Boolean replace)
Indicates whether the permission should replace the permissions that are currently associated with the resource
share.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
String |
toString()
Returns a string representation of this object.
|
AssociateResourceSharePermissionRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AssociateResourceSharePermissionRequest |
withPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
|
AssociateResourceSharePermissionRequest |
withPermissionVersion(Integer permissionVersion)
The version of the AWS RAM permissions to associate with the resource share.
|
AssociateResourceSharePermissionRequest |
withReplace(Boolean replace)
Indicates whether the permission should replace the permissions that are currently associated with the resource
share.
|
AssociateResourceSharePermissionRequest |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic AssociateResourceSharePermissionRequest()
public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn - The Amazon Resource Name (ARN) of the resource share.public String getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public AssociateResourceSharePermissionRequest withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn - The Amazon Resource Name (ARN) of the resource share.public void setPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
permissionArn - The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.public String getPermissionArn()
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
public AssociateResourceSharePermissionRequest withPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.
permissionArn - The Amazon Resource Name (ARN) of the AWS RAM permissions to associate with the resource share.public void setReplace(Boolean replace)
Indicates whether the permission should replace the permissions that are currently associated with the resource
share. Use true to replace the current permissions. Use false to add the permission to
the current permission.
replace - Indicates whether the permission should replace the permissions that are currently associated with the
resource share. Use true to replace the current permissions. Use false to add
the permission to the current permission.public Boolean getReplace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share. Use true to replace the current permissions. Use false to add the permission to
the current permission.
true to replace the current permissions. Use false to add
the permission to the current permission.public AssociateResourceSharePermissionRequest withReplace(Boolean replace)
Indicates whether the permission should replace the permissions that are currently associated with the resource
share. Use true to replace the current permissions. Use false to add the permission to
the current permission.
replace - Indicates whether the permission should replace the permissions that are currently associated with the
resource share. Use true to replace the current permissions. Use false to add
the permission to the current permission.public Boolean isReplace()
Indicates whether the permission should replace the permissions that are currently associated with the resource
share. Use true to replace the current permissions. Use false to add the permission to
the current permission.
true to replace the current permissions. Use false to add
the permission to the current permission.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public AssociateResourceSharePermissionRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setPermissionVersion(Integer permissionVersion)
The version of the AWS RAM permissions to associate with the resource share.
permissionVersion - The version of the AWS RAM permissions to associate with the resource share.public Integer getPermissionVersion()
The version of the AWS RAM permissions to associate with the resource share.
public AssociateResourceSharePermissionRequest withPermissionVersion(Integer permissionVersion)
The version of the AWS RAM permissions to associate with the resource share.
permissionVersion - The version of the AWS RAM permissions to associate with the resource share.public String toString()
toString in class ObjectObject.toString()public AssociateResourceSharePermissionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.