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:
  • Constructor Details

    • DescribeCrossAccountAccessRoleResult

      public DescribeCrossAccountAccessRoleResult()
  • Method Details

    • 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

      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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object