Interface ApplicationPolicyStatement.Builder

    • Method Detail

      • principalOrgIDs

        ApplicationPolicyStatement.Builder principalOrgIDs​(String... principalOrgIDs)

        An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

        Parameters:
        principalOrgIDs - An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principals

        ApplicationPolicyStatement.Builder principals​(Collection<String> principals)

        An array of AWS account IDs, or * to make the application public.

        Parameters:
        principals - An array of AWS account IDs, or * to make the application public.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • principals

        ApplicationPolicyStatement.Builder principals​(String... principals)

        An array of AWS account IDs, or * to make the application public.

        Parameters:
        principals - An array of AWS account IDs, or * to make the application public.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statementId

        ApplicationPolicyStatement.Builder statementId​(String statementId)

        A unique ID for the statement.

        Parameters:
        statementId - A unique ID for the statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.