@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateDRTRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateDRTRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateDRTRoleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
AssociateDRTRoleRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
|
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, withSdkRequestTimeoutpublic void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and
Detaching IAM Policies.
roleArn - The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services
account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
public String getRoleArn()
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and
Detaching IAM Policies.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
public AssociateDRTRoleRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and
Detaching IAM Policies.
roleArn - The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services
account.
Prior to making the AssociateDRTRole request, you must attach the AWSShieldDRTAccessPolicy managed policy to this role. For more information see Attaching and Detaching IAM Policies.
public String toString()
toString in class ObjectObject.toString()public AssociateDRTRoleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()