Interface GetIdentityPoliciesRequest.Builder

    • Method Detail

      • identity

        GetIdentityPoliciesRequest.Builder identity​(String identity)

        The identity for which the policies are retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

        To successfully call this operation, you must own the identity.

        Parameters:
        identity - The identity for which the policies are retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com.

        To successfully call this operation, you must own the identity.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyNames

        GetIdentityPoliciesRequest.Builder policyNames​(Collection<String> policyNames)

        A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.

        Parameters:
        policyNames - A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyNames

        GetIdentityPoliciesRequest.Builder policyNames​(String... policyNames)

        A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.

        Parameters:
        policyNames - A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.