Interface DescribeCrossAccountAccessRoleResponse.Builder

    • Method Detail

      • roleArn

        DescribeCrossAccountAccessRoleResponse.Builder roleArn​(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.
      • valid

        DescribeCrossAccountAccessRoleResponse.Builder valid​(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.
      • registeredAt

        DescribeCrossAccountAccessRoleResponse.Builder registeredAt​(Instant 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.