public class RegisterCrossAccountAccessRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RegisterCrossAccountAccessRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterCrossAccountAccessRoleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the IAM role that Inspector uses to list your EC2 instances
during the assessment.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The ARN of the IAM role that Inspector uses to list your EC2 instances
during the assessment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterCrossAccountAccessRoleRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that Inspector uses to list your EC2 instances
during the assessment.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic RegisterCrossAccountAccessRoleRequest()
public void setRoleArn(String roleArn)
roleArn - The ARN of the IAM role that Inspector uses to list your EC2
instances during the assessment.public String getRoleArn()
public RegisterCrossAccountAccessRoleRequest withRoleArn(String roleArn)
roleArn - The ARN of the IAM role that Inspector uses to list your EC2
instances during the assessment.public String toString()
toString in class ObjectObject.toString()public RegisterCrossAccountAccessRoleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.