Class DescribeCrossAccountAccessRoleResult
- java.lang.Object
-
- com.amazonaws.services.inspector.model.DescribeCrossAccountAccessRoleResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeCrossAccountAccessRoleResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCrossAccountAccessRoleResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCrossAccountAccessRoleResultclone()booleanequals(Object obj)DategetRegisteredAt()The date when the cross-account access role was registered.StringgetRoleArn()The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.BooleangetValid()A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.inthashCode()BooleanisValid()A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.voidsetRegisteredAt(Date registeredAt)The date when the cross-account access role was registered.voidsetRoleArn(String roleArn)The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.voidsetValid(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCrossAccountAccessRoleResultwithRegisteredAt(Date registeredAt)The date when the cross-account access role was registered.DescribeCrossAccountAccessRoleResultwithRoleArn(String roleArn)The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.DescribeCrossAccountAccessRoleResultwithValid(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.
-
-
-
Method Detail
-
setRoleArn
public void setRoleArn(String roleArn)
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
public String 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
public DescribeCrossAccountAccessRoleResult withRoleArn(String roleArn)
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
public void setValid(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.
- 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
public 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.
- 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
public DescribeCrossAccountAccessRoleResult withValid(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.
- 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
public 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.
- 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
public void setRegisteredAt(Date registeredAt)
The date when the cross-account access role was registered.
- Parameters:
registeredAt- The date when the cross-account access role was registered.
-
getRegisteredAt
public Date getRegisteredAt()
The date when the cross-account access role was registered.
- Returns:
- The date when the cross-account access role was registered.
-
withRegisteredAt
public DescribeCrossAccountAccessRoleResult withRegisteredAt(Date registeredAt)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCrossAccountAccessRoleResult clone()
-
-