Class ServiceAccountCreateResponse.Builder
-
- All Implemented Interfaces:
public final class ServiceAccountCreateResponse.BuilderA builder for ServiceAccountCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final ServiceAccountCreateResponse.Builder id(String id)
-
id
final ServiceAccountCreateResponse.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.
-
apiKey
final ServiceAccountCreateResponse.Builder apiKey(ServiceAccountCreateResponse.ApiKey apiKey)
-
apiKey
final ServiceAccountCreateResponse.Builder apiKey(Optional<ServiceAccountCreateResponse.ApiKey> apiKey)
Alias for calling Builder.apiKey with
apiKey.orElse(null).
-
apiKey
final ServiceAccountCreateResponse.Builder apiKey(JsonField<ServiceAccountCreateResponse.ApiKey> apiKey)
Sets Builder.apiKey to an arbitrary JSON value.
You should usually call Builder.apiKey with a well-typed ApiKey value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final ServiceAccountCreateResponse.Builder createdAt(Long createdAt)
-
createdAt
final ServiceAccountCreateResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ServiceAccountCreateResponse.Builder name(String name)
-
name
final ServiceAccountCreateResponse.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.
-
object_
final ServiceAccountCreateResponse.Builder object_(JsonValue object_)
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("organization.project.service_account")This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final ServiceAccountCreateResponse.Builder role(JsonValue role)
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("member")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ServiceAccountCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ServiceAccountCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ServiceAccountCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ServiceAccountCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ServiceAccountCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ServiceAccountCreateResponse build()
Returns an immutable instance of ServiceAccountCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .apiKey() .createdAt() .name()
-
-
-
-