Class Acl.Builder

java.lang.Object
com.google.cloud.storage.Acl.Builder
Enclosing class:
Acl

public static class Acl.Builder extends Object
Builder for Acl objects.
  • Method Details

    • setEntity

      public Acl.Builder setEntity(Acl.Entity entity)
      Sets the entity for the ACL object.
    • setRole

      public Acl.Builder setRole(Acl.Role role)
      Sets the role to associate to the entity object.
    • build

      public Acl build()
      Creates an Acl object from this builder.