public class DescribeCrossAccountAccessRoleResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCrossAccountAccessRoleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCrossAccountAccessRoleResult |
clone() |
boolean |
equals(Object obj) |
Date |
getRegisteredAt()
The date when the cross-account access role was registered.
|
String |
getRoleArn()
The ARN that specifies the IAM role that Amazon 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 Amazon 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 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 |
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCrossAccountAccessRoleResult |
withRegisteredAt(Date registeredAt)
The date when the cross-account access role was registered.
|
DescribeCrossAccountAccessRoleResult |
withRoleArn(String roleArn)
The ARN that specifies the IAM role that Amazon 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 Amazon Inspector to access your AWS account.
|
public DescribeCrossAccountAccessRoleResult()
public void setRoleArn(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 String getRoleArn()
The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.
public DescribeCrossAccountAccessRoleResult withRoleArn(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(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 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(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 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(Date registeredAt)
The date when the cross-account access role was registered.
registeredAt
- The date when the cross-account access role was registered.public Date getRegisteredAt()
The date when the cross-account access role was registered.
public DescribeCrossAccountAccessRoleResult withRegisteredAt(Date registeredAt)
The date when the cross-account access role was registered.
registeredAt
- The date when the cross-account access role was registered.public String toString()
toString
in class Object
Object.toString()
public DescribeCrossAccountAccessRoleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.