@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateResourceShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateResourceShareRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateResourceShareRequest |
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.
|
List<String> |
getPrincipals()
The principals.
|
List<String> |
getResourceArns()
The Amazon Resource Names (ARN) 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 (ARN) 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.
|
AssociateResourceShareRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AssociateResourceShareRequest |
withPrincipals(Collection<String> principals)
The principals.
|
AssociateResourceShareRequest |
withPrincipals(String... principals)
The principals.
|
AssociateResourceShareRequest |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
AssociateResourceShareRequest |
withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources.
|
AssociateResourceShareRequest |
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 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 AssociateResourceShareRequest 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 (ARN) of the resources.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns
- The Amazon Resource Names (ARN) of the resources.public AssociateResourceShareRequest withResourceArns(String... resourceArns)
The Amazon Resource Names (ARN) 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 (ARN) of the resources.public AssociateResourceShareRequest withResourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources.
resourceArns
- The Amazon Resource Names (ARN) of the resources.public void setPrincipals(Collection<String> principals)
The principals.
principals
- The principals.public AssociateResourceShareRequest 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 AssociateResourceShareRequest 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 AssociateResourceShareRequest 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 AssociateResourceShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.