Class Acl.Builder
-
- All Implemented Interfaces:
public final class Acl.BuilderA builder for Acl.
-
-
Method Summary
Modifier and Type Method Description final Acl.Builderid(String id)Unique identifier for the acl final Acl.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Acl.Builder_objectOrgId(String _objectOrgId)The organization the ACL's referred object belongs to final Acl.Builder_objectOrgId(JsonField<String> _objectOrgId)Sets Builder._objectOrgId to an arbitrary JSON value. final Acl.BuilderobjectId(String objectId)The id of the object the ACL applies to final Acl.BuilderobjectId(JsonField<String> objectId)Sets Builder.objectId to an arbitrary JSON value. final Acl.BuilderobjectType(AclObjectType objectType)The object type that the ACL applies to final Acl.BuilderobjectType(JsonField<AclObjectType> objectType)Sets Builder.objectType to an arbitrary JSON value. final Acl.Buildercreated(OffsetDateTime created)Date of acl creation final Acl.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final Acl.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final Acl.BuildergroupId(String groupId)Id of the group the ACL applies to. final Acl.BuildergroupId(Optional<String> groupId)Alias for calling Builder.groupId with groupId.orElse(null).final Acl.BuildergroupId(JsonField<String> groupId)Sets Builder.groupId to an arbitrary JSON value. final Acl.Builderpermission(Permission permission)Permission the ACL grants. final Acl.Builderpermission(Optional<Permission> permission)Alias for calling Builder.permission with permission.orElse(null).final Acl.Builderpermission(JsonField<Permission> permission)Sets Builder.permission to an arbitrary JSON value. final Acl.BuilderrestrictObjectType(AclObjectType restrictObjectType)When setting a permission directly, optionally restricts the permission grant to just the specified object type. final Acl.BuilderrestrictObjectType(Optional<AclObjectType> restrictObjectType)Alias for calling Builder.restrictObjectType with restrictObjectType.orElse(null).final Acl.BuilderrestrictObjectType(JsonField<AclObjectType> restrictObjectType)Sets Builder.restrictObjectType to an arbitrary JSON value. final Acl.BuilderroleId(String roleId)Id of the role the ACL grants. final Acl.BuilderroleId(Optional<String> roleId)Alias for calling Builder.roleId with roleId.orElse(null).final Acl.BuilderroleId(JsonField<String> roleId)Sets Builder.roleId to an arbitrary JSON value. final Acl.BuilderuserId(String userId)Id of the user the ACL applies to. final Acl.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final Acl.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final Acl.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Acl.BuilderputAdditionalProperty(String key, JsonValue value)final Acl.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Acl.BuilderremoveAdditionalProperty(String key)final Acl.BuilderremoveAllAdditionalProperties(Set<String> keys)final Aclbuild()Returns an immutable instance of Acl. -
-
Method Detail
-
id
final Acl.Builder id(String id)
Unique identifier for the acl
-
id
final Acl.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_objectOrgId
final Acl.Builder _objectOrgId(String _objectOrgId)
The organization the ACL's referred object belongs to
-
_objectOrgId
final Acl.Builder _objectOrgId(JsonField<String> _objectOrgId)
Sets Builder._objectOrgId to an arbitrary JSON value.
You should usually call Builder._objectOrgId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectId
final Acl.Builder objectId(String objectId)
The id of the object the ACL applies to
-
objectId
final Acl.Builder objectId(JsonField<String> objectId)
Sets Builder.objectId to an arbitrary JSON value.
You should usually call Builder.objectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectType
final Acl.Builder objectType(AclObjectType objectType)
The object type that the ACL applies to
-
objectType
final Acl.Builder objectType(JsonField<AclObjectType> objectType)
Sets Builder.objectType to an arbitrary JSON value.
You should usually call Builder.objectType with a well-typed AclObjectType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final Acl.Builder created(OffsetDateTime created)
Date of acl creation
-
created
final Acl.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final Acl.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
groupId
final Acl.Builder groupId(String groupId)
Id of the group the ACL applies to. Exactly one of
user_idandgroup_idwill be provided
-
groupId
final Acl.Builder groupId(Optional<String> groupId)
Alias for calling Builder.groupId with
groupId.orElse(null).
-
groupId
final Acl.Builder groupId(JsonField<String> groupId)
Sets Builder.groupId to an arbitrary JSON value.
You should usually call Builder.groupId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
permission
final Acl.Builder permission(Permission permission)
Permission the ACL grants. Exactly one of
permissionandrole_idwill be provided
-
permission
final Acl.Builder permission(Optional<Permission> permission)
Alias for calling Builder.permission with
permission.orElse(null).
-
permission
final Acl.Builder permission(JsonField<Permission> permission)
Sets Builder.permission to an arbitrary JSON value.
You should usually call Builder.permission with a well-typed Permission value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
restrictObjectType
final Acl.Builder restrictObjectType(AclObjectType restrictObjectType)
When setting a permission directly, optionally restricts the permission grant to just the specified object type. Cannot be set alongside a
role_id.
-
restrictObjectType
final Acl.Builder restrictObjectType(Optional<AclObjectType> restrictObjectType)
Alias for calling Builder.restrictObjectType with
restrictObjectType.orElse(null).
-
restrictObjectType
final Acl.Builder restrictObjectType(JsonField<AclObjectType> restrictObjectType)
Sets Builder.restrictObjectType to an arbitrary JSON value.
You should usually call Builder.restrictObjectType with a well-typed AclObjectType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
roleId
final Acl.Builder roleId(String roleId)
Id of the role the ACL grants. Exactly one of
permissionandrole_idwill be provided
-
roleId
final Acl.Builder roleId(Optional<String> roleId)
Alias for calling Builder.roleId with
roleId.orElse(null).
-
roleId
final Acl.Builder roleId(JsonField<String> roleId)
Sets Builder.roleId to an arbitrary JSON value.
You should usually call Builder.roleId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final Acl.Builder userId(String userId)
Id of the user the ACL applies to. Exactly one of
user_idandgroup_idwill be provided
-
userId
final Acl.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final Acl.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Acl.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Acl.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Acl.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Acl.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Acl.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-