@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
|
String |
toString()
Returns a string representation of this object.
|
RegisterCrossAccountAccessRoleRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.
|
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, withSdkRequestTimeout
public RegisterCrossAccountAccessRoleRequest()
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
roleArn
- The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.public String getRoleArn()
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
public RegisterCrossAccountAccessRoleRequest withRoleArn(String roleArn)
The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments.
roleArn
- The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to perform security
assessments.public String toString()
toString
in class Object
Object.toString()
public RegisterCrossAccountAccessRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()