public class DescribeCrossAccountAccessRoleResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCrossAccountAccessRoleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCrossAccountAccessRoleResult |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN specifying the IAM role that Inspector uses to access your AWS
account.
|
Boolean |
getValid()
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Inspector to access your AWS account.
|
int |
hashCode() |
Boolean |
isValid()
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Inspector to access your AWS account.
|
void |
setRoleArn(String roleArn)
The ARN specifying the IAM role that Inspector uses to access your AWS
account.
|
void |
setValid(Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Inspector to access your AWS account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCrossAccountAccessRoleResult |
withRoleArn(String roleArn)
The ARN specifying the IAM role that Inspector uses to access your AWS
account.
|
DescribeCrossAccountAccessRoleResult |
withValid(Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Inspector to access your AWS account.
|
public DescribeCrossAccountAccessRoleResult()
public void setRoleArn(String roleArn)
The ARN specifying the IAM role that Inspector uses to access your AWS account.
roleArn
- The ARN specifying the IAM role that Inspector uses to access your
AWS account.public String getRoleArn()
The ARN specifying the IAM role that Inspector uses to access your AWS account.
public DescribeCrossAccountAccessRoleResult withRoleArn(String roleArn)
The ARN specifying the IAM role that Inspector uses to access your AWS account.
roleArn
- The ARN specifying the IAM role that Inspector uses to access your
AWS account.public void setValid(Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.
valid
- A Boolean value that specifies whether the IAM role has the
necessary policies attached to enable Inspector to access your AWS
account.public Boolean getValid()
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.
public DescribeCrossAccountAccessRoleResult withValid(Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.
valid
- A Boolean value that specifies whether the IAM role has the
necessary policies attached to enable Inspector to access your AWS
account.public Boolean isValid()
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Inspector to access your AWS account.
public String toString()
toString
in class Object
Object.toString()
public DescribeCrossAccountAccessRoleResult clone()
Copyright © 2015. All rights reserved.