Class DescribeCrossAccountAccessRoleResult

    • Constructor Detail

      • DescribeCrossAccountAccessRoleResult

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

        public int hashCode()
        Overrides:
        hashCode in class Object