public class DescribeCrossAccountAccessRoleResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
registeredAt
The date when the cross-account access role was registered.
|
private java.lang.String |
roleArn
The ARN that specifies the IAM role that Amazon Inspector uses to access
your AWS account.
|
private java.lang.Boolean |
valid
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Amazon Inspector to access your AWS account.
|
Constructor and Description |
---|
DescribeCrossAccountAccessRoleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCrossAccountAccessRoleResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getRegisteredAt()
The date when the cross-account access role was registered.
|
java.lang.String |
getRoleArn()
The ARN that specifies the IAM role that Amazon Inspector uses to access
your AWS account.
|
java.lang.Boolean |
getValid()
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Amazon Inspector to access your AWS account.
|
int |
hashCode() |
java.lang.Boolean |
isValid()
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Amazon Inspector to access your AWS account.
|
void |
setRegisteredAt(java.util.Date registeredAt)
The date when the cross-account access role was registered.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN that specifies the IAM role that Amazon Inspector uses to access
your AWS account.
|
void |
setValid(java.lang.Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Amazon Inspector to access your AWS account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCrossAccountAccessRoleResult |
withRegisteredAt(java.util.Date registeredAt)
The date when the cross-account access role was registered.
|
DescribeCrossAccountAccessRoleResult |
withRoleArn(java.lang.String roleArn)
The ARN that specifies the IAM role that Amazon Inspector uses to access
your AWS account.
|
DescribeCrossAccountAccessRoleResult |
withValid(java.lang.Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary
policies attached to enable Amazon Inspector to access your AWS account.
|
private java.lang.String roleArn
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
private java.lang.Boolean valid
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
private java.util.Date registeredAt
The date when the cross-account access role was registered.
public DescribeCrossAccountAccessRoleResult()
public void setRoleArn(java.lang.String roleArn)
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
roleArn
- The ARN that specifies the IAM role that Amazon Inspector uses to
access your AWS account.public java.lang.String getRoleArn()
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
public DescribeCrossAccountAccessRoleResult withRoleArn(java.lang.String roleArn)
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
roleArn
- The ARN that specifies the IAM role that Amazon Inspector uses to
access your AWS account.public void setValid(java.lang.Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
valid
- A Boolean value that specifies whether the IAM role has the
necessary policies attached to enable Amazon Inspector to access
your AWS account.public java.lang.Boolean getValid()
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
public DescribeCrossAccountAccessRoleResult withValid(java.lang.Boolean valid)
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
valid
- A Boolean value that specifies whether the IAM role has the
necessary policies attached to enable Amazon Inspector to access
your AWS account.public java.lang.Boolean isValid()
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
public void setRegisteredAt(java.util.Date registeredAt)
The date when the cross-account access role was registered.
registeredAt
- The date when the cross-account access role was registered.public java.util.Date getRegisteredAt()
The date when the cross-account access role was registered.
public DescribeCrossAccountAccessRoleResult withRegisteredAt(java.util.Date registeredAt)
The date when the cross-account access role was registered.
registeredAt
- The date when the cross-account access role was registered.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 DescribeCrossAccountAccessRoleResult clone()
clone
in class java.lang.Object