@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()
Indicates whether principals outside your AWS organization can be associated with a resource share.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getName()
The name of the resource share.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
int |
hashCode() |
Boolean |
isAllowExternalPrincipals()
Indicates whether principals outside your AWS organization can be associated with a resource share.
|
void |
setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setName(String name)
The name of 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.
|
UpdateResourceShareRequest |
withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
|
UpdateResourceShareRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateResourceShareRequest |
withName(String name)
The name of the resource share.
|
UpdateResourceShareRequest |
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 UpdateResourceShareRequest withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.public void setName(String name)
The name of the resource share.
name
- The name of the resource share.public String getName()
The name of the resource share.
public UpdateResourceShareRequest withName(String name)
The name of the resource share.
name
- The name of the resource share.public void setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your AWS organization can be associated with a resource share.public Boolean getAllowExternalPrincipals()
Indicates whether principals outside your AWS organization can be associated with a resource share.
public UpdateResourceShareRequest withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your AWS organization can be associated with a resource share.public Boolean isAllowExternalPrincipals()
Indicates whether principals outside your AWS organization can be associated with a resource share.
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 UpdateResourceShareRequest 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 UpdateResourceShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()