Interface ListEntitiesForPolicyResponse.Builder

    • Method Detail

      • policyGroups

        ListEntitiesForPolicyResponse.Builder policyGroups​(Collection<PolicyGroup> policyGroups)

        A list of IAM groups that the policy is attached to.

        Parameters:
        policyGroups - A list of IAM groups that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyGroups

        ListEntitiesForPolicyResponse.Builder policyGroups​(PolicyGroup... policyGroups)

        A list of IAM groups that the policy is attached to.

        Parameters:
        policyGroups - A list of IAM groups that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyUsers

        ListEntitiesForPolicyResponse.Builder policyUsers​(Collection<PolicyUser> policyUsers)

        A list of IAM users that the policy is attached to.

        Parameters:
        policyUsers - A list of IAM users that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyUsers

        ListEntitiesForPolicyResponse.Builder policyUsers​(PolicyUser... policyUsers)

        A list of IAM users that the policy is attached to.

        Parameters:
        policyUsers - A list of IAM users that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRoles

        ListEntitiesForPolicyResponse.Builder policyRoles​(Collection<PolicyRole> policyRoles)

        A list of IAM roles that the policy is attached to.

        Parameters:
        policyRoles - A list of IAM roles that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRoles

        ListEntitiesForPolicyResponse.Builder policyRoles​(PolicyRole... policyRoles)

        A list of IAM roles that the policy is attached to.

        Parameters:
        policyRoles - A list of IAM roles that the policy is attached to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTruncated

        ListEntitiesForPolicyResponse.Builder isTruncated​(Boolean isTruncated)

        A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

        Parameters:
        isTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • marker

        ListEntitiesForPolicyResponse.Builder marker​(String marker)

        When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

        Parameters:
        marker - When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.