Class BetaServiceAccountWorkspaceMember.Builder
-
- All Implemented Interfaces:
public final class BetaServiceAccountWorkspaceMember.BuilderA builder for BetaServiceAccountWorkspaceMember.
-
-
Method Summary
-
-
Method Detail
-
createdByActorId
final BetaServiceAccountWorkspaceMember.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_.../svac_...) of the actor who created this membership.
-
createdByActorId
final BetaServiceAccountWorkspaceMember.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final BetaServiceAccountWorkspaceMember.Builder createdByActorId(JsonField<String> createdByActorId)
Sets Builder.createdByActorId to an arbitrary JSON value.
You should usually call Builder.createdByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
implicit
final BetaServiceAccountWorkspaceMember.Builder implicit(Boolean implicit)
True when this is the implicit default-workspace membership every service account has when no explicit membership exists. Implicit memberships have role
workspace_userand cannot be removed.
-
implicit
final BetaServiceAccountWorkspaceMember.Builder implicit(Boolean implicit)
Alias for Builder.implicit.
This unboxed primitive overload exists for backwards compatibility.
-
implicit
final BetaServiceAccountWorkspaceMember.Builder implicit(Optional<Boolean> implicit)
Alias for calling Builder.implicit with
implicit.orElse(null).
-
implicit
final BetaServiceAccountWorkspaceMember.Builder implicit(JsonField<Boolean> implicit)
Sets Builder.implicit to an arbitrary JSON value.
You should usually call Builder.implicit with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
serviceAccountId
final BetaServiceAccountWorkspaceMember.Builder serviceAccountId(String serviceAccountId)
Tagged service account ID (
svac_...).
-
serviceAccountId
final BetaServiceAccountWorkspaceMember.Builder serviceAccountId(JsonField<String> serviceAccountId)
Sets Builder.serviceAccountId to an arbitrary JSON value.
You should usually call Builder.serviceAccountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaServiceAccountWorkspaceMember.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("service_account_workspace_member")This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceId
final BetaServiceAccountWorkspaceMember.Builder workspaceId(String workspaceId)
Tagged workspace ID (
wrkspc_...).
-
workspaceId
final BetaServiceAccountWorkspaceMember.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceRole
final BetaServiceAccountWorkspaceMember.Builder workspaceRole(BetaWorkspaceRole workspaceRole)
Role of the service account in this workspace. Service accounts cannot hold the
workspace_billingrole.
-
workspaceRole
final BetaServiceAccountWorkspaceMember.Builder workspaceRole(JsonField<BetaWorkspaceRole> workspaceRole)
Sets Builder.workspaceRole to an arbitrary JSON value.
You should usually call Builder.workspaceRole with a well-typed BetaWorkspaceRole value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaServiceAccountWorkspaceMember.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaServiceAccountWorkspaceMember.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaServiceAccountWorkspaceMember.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaServiceAccountWorkspaceMember.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaServiceAccountWorkspaceMember.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaServiceAccountWorkspaceMember build()
Returns an immutable instance of BetaServiceAccountWorkspaceMember.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.createdByActorId() .implicit() .serviceAccountId() .workspaceId() .workspaceRole()
-
-
-
-