Interface AccessControlPolicy.Builder

    • Method Detail

      • grants

        AccessControlPolicy.Builder grants​(Collection<Grant> grants)

        A list of grants.

        Parameters:
        grants - A list of grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grants

        AccessControlPolicy.Builder grants​(Grant... grants)

        A list of grants.

        Parameters:
        grants - A list of grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        AccessControlPolicy.Builder owner​(Owner owner)

        Container for the bucket owner's display name and ID.

        Parameters:
        owner - Container for the bucket owner's display name and ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.