Class BetaServiceAccount.Builder
-
- All Implemented Interfaces:
public final class BetaServiceAccount.BuilderA builder for BetaServiceAccount.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaServiceAccount.Builder id(String id)
Tagged ID of the service account.
-
id
final BetaServiceAccount.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.
-
archivedAt
final BetaServiceAccount.Builder archivedAt(OffsetDateTime archivedAt)
If set, this service account is archived.
-
archivedAt
final BetaServiceAccount.Builder archivedAt(Optional<OffsetDateTime> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final BetaServiceAccount.Builder archivedAt(JsonField<OffsetDateTime> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
archivedByActorId
final BetaServiceAccount.Builder archivedByActorId(String archivedByActorId)
Tagged ID (
user_/svac_) of the actor that archived this service account.
-
archivedByActorId
final BetaServiceAccount.Builder archivedByActorId(Optional<String> archivedByActorId)
Alias for calling Builder.archivedByActorId with
archivedByActorId.orElse(null).
-
archivedByActorId
final BetaServiceAccount.Builder archivedByActorId(JsonField<String> archivedByActorId)
Sets Builder.archivedByActorId to an arbitrary JSON value.
You should usually call Builder.archivedByActorId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final BetaServiceAccount.Builder createdAt(OffsetDateTime createdAt)
When this service account was created.
-
createdAt
final BetaServiceAccount.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdByActorId
final BetaServiceAccount.Builder createdByActorId(String createdByActorId)
Tagged ID (
user_/svac_) of the actor that created this service account.
-
createdByActorId
final BetaServiceAccount.Builder createdByActorId(Optional<String> createdByActorId)
Alias for calling Builder.createdByActorId with
createdByActorId.orElse(null).
-
createdByActorId
final BetaServiceAccount.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.
-
description
final BetaServiceAccount.Builder description(String description)
Optional free-text description.
-
description
final BetaServiceAccount.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final BetaServiceAccount.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaServiceAccount.Builder name(String name)
Admin-chosen slug identifier.
-
name
final BetaServiceAccount.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
organizationRole
final BetaServiceAccount.Builder organizationRole(BetaServiceAccount.OrganizationRole organizationRole)
Org-level role. A federation rule may only be created or retargeted to grant
org:adminscope when this isadmin. A rule grantingorg:adminwhose target is later demoted todeveloperis rejected at token exchange. Rules grantingorg:adminare managed in the Console.
-
organizationRole
final BetaServiceAccount.Builder organizationRole(JsonField<BetaServiceAccount.OrganizationRole> organizationRole)
Sets Builder.organizationRole to an arbitrary JSON value.
You should usually call Builder.organizationRole with a well-typed OrganizationRole value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaServiceAccount.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")This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final BetaServiceAccount.Builder updatedAt(OffsetDateTime updatedAt)
When this service account was last updated.
-
updatedAt
final BetaServiceAccount.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedByActorId
final BetaServiceAccount.Builder updatedByActorId(String updatedByActorId)
Tagged ID (
user_/svac_) of the actor that last updated this service account.
-
updatedByActorId
final BetaServiceAccount.Builder updatedByActorId(Optional<String> updatedByActorId)
Alias for calling Builder.updatedByActorId with
updatedByActorId.orElse(null).
-
updatedByActorId
final BetaServiceAccount.Builder updatedByActorId(JsonField<String> updatedByActorId)
Sets Builder.updatedByActorId to an arbitrary JSON value.
You should usually call Builder.updatedByActorId 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 BetaServiceAccount.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaServiceAccount.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaServiceAccount.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaServiceAccount.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaServiceAccount.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaServiceAccount build()
Returns an immutable instance of BetaServiceAccount.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .archivedAt() .archivedByActorId() .createdAt() .createdByActorId() .description() .name() .organizationRole() .updatedAt() .updatedByActorId()
-
-
-
-