@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateResourceShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateResourceShareRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateResourceShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowExternalPrincipals()
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
|
String |
getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getName()
If specified, the new name that you want to attach to the resource share.
|
String |
getResourceShareArn()
Specifies the Amazon Resoure
Name (ARN) of the resource share that you want to modify.
|
int |
hashCode() |
Boolean |
isAllowExternalPrincipals()
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
|
void |
setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
|
void |
setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setName(String name)
If specified, the new name that you want to attach to the resource share.
|
void |
setResourceShareArn(String resourceShareArn)
Specifies the Amazon Resoure
Name (ARN) of the resource share that you want to modify.
|
String |
toString()
Returns a string representation of this object.
|
UpdateResourceShareRequest |
withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
|
UpdateResourceShareRequest |
withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateResourceShareRequest |
withName(String name)
If specified, the new name that you want to attach to the resource share.
|
UpdateResourceShareRequest |
withResourceShareArn(String resourceShareArn)
Specifies the Amazon Resoure
Name (ARN) of the resource share that you want to modify.
|
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)
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
resourceShareArn
- Specifies the Amazon
Resoure Name (ARN) of the resource share that you want to modify.public String getResourceShareArn()
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
public UpdateResourceShareRequest withResourceShareArn(String resourceShareArn)
Specifies the Amazon Resoure Name (ARN) of the resource share that you want to modify.
resourceShareArn
- Specifies the Amazon
Resoure Name (ARN) of the resource share that you want to modify.public void setName(String name)
If specified, the new name that you want to attach to the resource share.
name
- If specified, the new name that you want to attach to the resource share.public String getName()
If specified, the new name that you want to attach to the resource share.
public UpdateResourceShareRequest withName(String name)
If specified, the new name that you want to attach to the resource share.
name
- If specified, the new name that you want to attach to the resource share.public void setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
allowExternalPrincipals
- Specifies whether principals outside your organization in Organizations can be associated with a resource
share.public Boolean getAllowExternalPrincipals()
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
public UpdateResourceShareRequest withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
allowExternalPrincipals
- Specifies whether principals outside your organization in Organizations can be associated with a resource
share.public Boolean isAllowExternalPrincipals()
Specifies whether principals outside your organization in Organizations can be associated with a resource share.
public void setClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
public String getClientToken()
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you don't provide this value, then Amazon Web Services generates a random one for you.
public UpdateResourceShareRequest withClientToken(String clientToken)
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This lets you safely retry the request without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you also pass the same value for all
other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
public String toString()
toString
in class Object
Object.toString()
public UpdateResourceShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()