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 Amazon Inspector uses to list your EC2
instances during the assessment run or when you call the
PreviewAgents action.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The ARN of the IAM role that Amazon Inspector uses to list your EC2
instances during the assessment run or when you call the
PreviewAgents action.
|
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 Amazon Inspector uses to list your EC2
instances during the assessment run or when you call the
PreviewAgents action.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RegisterCrossAccountAccessRoleRequest()
public void setRoleArn(String roleArn)
The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action.
roleArn
- The ARN of the IAM role that Amazon Inspector uses to list your
EC2 instances during the assessment run or when you call the
PreviewAgents action.public String getRoleArn()
The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action.
public RegisterCrossAccountAccessRoleRequest withRoleArn(String roleArn)
The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action.
roleArn
- The ARN of the IAM role that Amazon Inspector uses to list your
EC2 instances during the assessment run or when you call the
PreviewAgents action.public String toString()
toString
in class Object
Object.toString()
public RegisterCrossAccountAccessRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.