@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getPermissionArn()
The ARN of the AWS RAM permission 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 ARN of the AWS RAM permission 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 ARN of the AWS RAM permission 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, 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, withSdkRequestTimeout
public 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 ARN of the AWS RAM permission to associate with the resource share.
permissionArn
- The ARN of the AWS RAM permission to associate with the resource share.public String getPermissionArn()
The ARN of the AWS RAM permission to associate with the resource share.
public AssociateResourceSharePermissionRequest withPermissionArn(String permissionArn)
The ARN of the AWS RAM permission to associate with the resource share.
permissionArn
- The ARN of the AWS RAM permission 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 String toString()
toString
in class Object
Object.toString()
public AssociateResourceSharePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.