Interface IamPolicy.Builder

    • Method Detail

      • id

        IamPolicy.Builder id​(String id)
        Configure the Id element of the policy, specifying an optional identifier for the policy.

        The ID is used differently in different services. ID is allowed in resource-based policies, but not in identity-based policies.

        For services that let you set an ID element, we recommend you use a UUID (GUID) for the value, or incorporate a UUID as part of the ID to ensure uniqueness.

        This value is optional.

        See Also:
        ID user guide
      • version

        IamPolicy.Builder version​(String version)
        Configure the Version element of the policy, specifying the language syntax rules that are to be used to process the policy.

        By default, this value is 2012-10-17.

        See Also:
        Version user guide