@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisassociateResourceShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DisassociateResourceShareRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisassociateResourceShareRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
List<String> |
getPrincipals()
The principals.
|
List<String> |
getResourceArns()
The Amazon Resource Names (ARNs) of the resources.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPrincipals(Collection<String> principals)
The principals.
|
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
String |
toString()
Returns a string representation of this object.
|
DisassociateResourceShareRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
DisassociateResourceShareRequest |
withPrincipals(Collection<String> principals)
The principals.
|
DisassociateResourceShareRequest |
withPrincipals(String... principals)
The principals.
|
DisassociateResourceShareRequest |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources.
|
DisassociateResourceShareRequest |
withResourceArns(String... resourceArns)
The Amazon Resource Names (ARNs) of the resources.
|
DisassociateResourceShareRequest |
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 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 DisassociateResourceShareRequest withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn - The Amazon Resource Name (ARN) of the resource share.public List<String> getResourceArns()
The Amazon Resource Names (ARNs) of the resources.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources.
resourceArns - The Amazon Resource Names (ARNs) of the resources.public DisassociateResourceShareRequest withResourceArns(String... resourceArns)
The Amazon Resource Names (ARNs) of the resources.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection) or withResourceArns(java.util.Collection) if you want to
override the existing values.
resourceArns - The Amazon Resource Names (ARNs) of the resources.public DisassociateResourceShareRequest withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources.
resourceArns - The Amazon Resource Names (ARNs) of the resources.public void setPrincipals(Collection<String> principals)
The principals.
principals - The principals.public DisassociateResourceShareRequest withPrincipals(String... principals)
The principals.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection) or withPrincipals(java.util.Collection) if you want to
override the existing values.
principals - The principals.public DisassociateResourceShareRequest withPrincipals(Collection<String> principals)
The principals.
principals - The principals.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 DisassociateResourceShareRequest 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 ObjectObject.toString()public DisassociateResourceShareRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.