Class DescribeCrossAccountAccessRoleResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date when the cross-account access role was registered.The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.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()
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
(Date registeredAt) The date when the cross-account access role was registered.void
setRoleArn
(String roleArn) The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.void
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.toString()
Returns a string representation of this object; useful for testing and debugging.withRegisteredAt
(Date registeredAt) The date when the cross-account access role was registered.withRoleArn
(String roleArn) The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
-
Constructor Details
-
DescribeCrossAccountAccessRoleResult
public DescribeCrossAccountAccessRoleResult()
-
-
Method Details
-
setRoleArn
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
- Parameters:
roleArn
- The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
-
getRoleArn
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
- Returns:
- The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
-
withRoleArn
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
- Parameters:
roleArn
- The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValid
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
- Parameters:
valid
- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
-
getValid
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
- Returns:
- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
-
withValid
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
- Parameters:
valid
- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isValid
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
- Returns:
- A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.
-
setRegisteredAt
The date when the cross-account access role was registered.
- Parameters:
registeredAt
- The date when the cross-account access role was registered.
-
getRegisteredAt
The date when the cross-account access role was registered.
- Returns:
- The date when the cross-account access role was registered.
-
withRegisteredAt
The date when the cross-account access role was registered.
- Parameters:
registeredAt
- The date when the cross-account access role was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-