public class RegisterCrossAccountAccessRoleRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
NOOP
Constructor and Description |
---|
RegisterCrossAccountAccessRoleRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterCrossAccountAccessRoleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterCrossAccountAccessRoleRequest |
withRoleArn(java.lang.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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
public RegisterCrossAccountAccessRoleRequest()
public void setRoleArn(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterCrossAccountAccessRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()