@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromoteResourceShareCreatedFromPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PromoteResourceShareCreatedFromPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PromoteResourceShareCreatedFromPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceShareArn()
Specifies the Amazon
Resource Name (ARN) of the resource share to promote.
|
int |
hashCode() |
void |
setResourceShareArn(String resourceShareArn)
Specifies the Amazon
Resource Name (ARN) of the resource share to promote.
|
String |
toString()
Returns a string representation of this object.
|
PromoteResourceShareCreatedFromPolicyRequest |
withResourceShareArn(String resourceShareArn)
Specifies the Amazon
Resource Name (ARN) of the resource share to promote.
|
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 PromoteResourceShareCreatedFromPolicyRequest()
public void setResourceShareArn(String resourceShareArn)
Specifies the Amazon Resource Name (ARN) of the resource share to promote.
resourceShareArn
- Specifies the Amazon
Resource Name (ARN) of the resource share to promote.public String getResourceShareArn()
Specifies the Amazon Resource Name (ARN) of the resource share to promote.
public PromoteResourceShareCreatedFromPolicyRequest withResourceShareArn(String resourceShareArn)
Specifies the Amazon Resource Name (ARN) of the resource share to promote.
resourceShareArn
- Specifies the Amazon
Resource Name (ARN) of the resource share to promote.public String toString()
toString
in class Object
Object.toString()
public PromoteResourceShareCreatedFromPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()