Class ApiKeyServiceAccountActor.Builder
-
- All Implemented Interfaces:
public final class ApiKeyServiceAccountActor.BuilderA builder for ApiKeyServiceAccountActor.
-
-
Method Summary
Modifier and Type Method Description final ApiKeyServiceAccountActor.BuilderserviceAccountId(String serviceAccountId)ID of the Service Account the API key acts as. final ApiKeyServiceAccountActor.BuilderserviceAccountId(JsonField<String> serviceAccountId)Sets Builder.serviceAccountId to an arbitrary JSON value. final ApiKeyServiceAccountActor.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ApiKeyServiceAccountActor.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ApiKeyServiceAccountActor.BuilderputAdditionalProperty(String key, JsonValue value)final ApiKeyServiceAccountActor.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ApiKeyServiceAccountActor.BuilderremoveAdditionalProperty(String key)final ApiKeyServiceAccountActor.BuilderremoveAllAdditionalProperties(Set<String> keys)final ApiKeyServiceAccountActorbuild()Returns an immutable instance of ApiKeyServiceAccountActor. -
-
Method Detail
-
serviceAccountId
final ApiKeyServiceAccountActor.Builder serviceAccountId(String serviceAccountId)
ID of the Service Account the API key acts as.
-
serviceAccountId
final ApiKeyServiceAccountActor.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 ApiKeyServiceAccountActor.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_actor")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ApiKeyServiceAccountActor.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ApiKeyServiceAccountActor.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ApiKeyServiceAccountActor.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ApiKeyServiceAccountActor.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ApiKeyServiceAccountActor.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ApiKeyServiceAccountActor build()
Returns an immutable instance of ApiKeyServiceAccountActor.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.serviceAccountId()
-
-
-
-