Class DataResidency.Builder
-
- All Implemented Interfaces:
public final class DataResidency.BuilderA builder for DataResidency.
-
-
Method Summary
-
-
Method Detail
-
allowedInferenceGeos
final DataResidency.Builder allowedInferenceGeos(DataResidency.AllowedInferenceGeos allowedInferenceGeos)
Permitted inference geo values. 'unrestricted' means all geos are allowed.
-
allowedInferenceGeos
final DataResidency.Builder allowedInferenceGeos(JsonField<DataResidency.AllowedInferenceGeos> allowedInferenceGeos)
Sets Builder.allowedInferenceGeos to an arbitrary JSON value.
You should usually call Builder.allowedInferenceGeos with a well-typed AllowedInferenceGeos value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
defaultInferenceGeo
final DataResidency.Builder defaultInferenceGeo(DataResidency.DefaultInferenceGeo defaultInferenceGeo)
Default inference geo applied when requests omit the parameter.
-
defaultInferenceGeo
final DataResidency.Builder defaultInferenceGeo(JsonField<DataResidency.DefaultInferenceGeo> defaultInferenceGeo)
Sets Builder.defaultInferenceGeo to an arbitrary JSON value.
You should usually call Builder.defaultInferenceGeo with a well-typed DefaultInferenceGeo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceGeo
final DataResidency.Builder workspaceGeo(DataResidency.WorkspaceGeo workspaceGeo)
Geographic region for workspace data storage. Immutable after creation.
-
workspaceGeo
final DataResidency.Builder workspaceGeo(JsonField<DataResidency.WorkspaceGeo> workspaceGeo)
Sets Builder.workspaceGeo to an arbitrary JSON value.
You should usually call Builder.workspaceGeo with a well-typed WorkspaceGeo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final DataResidency.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
allowedInferenceGeosOfGeos
final DataResidency.Builder allowedInferenceGeosOfGeos(List<AllowedInferenceGeo> geos)
Alias for calling allowedInferenceGeos with
AllowedInferenceGeos.ofGeos(geos).
-
allowedInferenceGeosUnrestricted
final DataResidency.Builder allowedInferenceGeosUnrestricted()
Alias for calling allowedInferenceGeos with
AllowedInferenceGeos.ofUnrestricted().
-
putAdditionalProperty
final DataResidency.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DataResidency.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DataResidency.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DataResidency.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DataResidency build()
Returns an immutable instance of DataResidency.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.allowedInferenceGeos() .defaultInferenceGeo() .workspaceGeo()
-
-
-
-