public class RegisterCrossAccountAccessRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RegisterCrossAccountAccessRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterCrossAccountAccessRoleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the IAM role that 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 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 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, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic RegisterCrossAccountAccessRoleRequest()
public void setRoleArn(String roleArn)
The ARN of the IAM role that 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 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 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 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 Inspector uses to list your EC2
instances during the assessment run or when you call the
PreviewAgents action.public String toString()
toString in class ObjectObject.toString()public RegisterCrossAccountAccessRoleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.