Class BetaServiceAccountTarget.Builder
-
- All Implemented Interfaces:
public final class BetaServiceAccountTarget.BuilderA builder for BetaServiceAccountTarget.
-
-
Method Summary
-
-
Method Detail
-
serviceAccountId
final BetaServiceAccountTarget.Builder serviceAccountId(String serviceAccountId)
Tagged ID of the service account to mint tokens for.
-
serviceAccountId
final BetaServiceAccountTarget.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 BetaServiceAccountTarget.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.
-
serviceAccountName
final BetaServiceAccountTarget.Builder serviceAccountName(String serviceAccountName)
Service account's display name at read time. Ignored on writes.
-
serviceAccountName
final BetaServiceAccountTarget.Builder serviceAccountName(Optional<String> serviceAccountName)
Alias for calling Builder.serviceAccountName with
serviceAccountName.orElse(null).
-
serviceAccountName
final BetaServiceAccountTarget.Builder serviceAccountName(JsonField<String> serviceAccountName)
Sets Builder.serviceAccountName to an arbitrary JSON value.
You should usually call Builder.serviceAccountName 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 BetaServiceAccountTarget.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaServiceAccountTarget.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaServiceAccountTarget.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaServiceAccountTarget.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaServiceAccountTarget.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaServiceAccountTarget build()
Returns an immutable instance of BetaServiceAccountTarget.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.serviceAccountId()
-
-
-
-