Class DataResidencyCreateConfig.Builder
-
- All Implemented Interfaces:
public final class DataResidencyCreateConfig.BuilderA builder for DataResidencyCreateConfig.
-
-
Method Summary
-
-
Method Detail
-
allowedInferenceGeos
final DataResidencyCreateConfig.Builder allowedInferenceGeos(DataResidencyCreateConfig.AllowedInferenceGeos allowedInferenceGeos)
Permitted inference geo values. Defaults to 'unrestricted' if omitted, which allows all geos. Use the string 'unrestricted' to allow all geos, or a list of specific geos.
-
allowedInferenceGeos
final DataResidencyCreateConfig.Builder allowedInferenceGeos(Optional<DataResidencyCreateConfig.AllowedInferenceGeos> allowedInferenceGeos)
Alias for calling Builder.allowedInferenceGeos with
allowedInferenceGeos.orElse(null).
-
allowedInferenceGeos
final DataResidencyCreateConfig.Builder allowedInferenceGeos(JsonField<DataResidencyCreateConfig.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 DataResidencyCreateConfig.Builder defaultInferenceGeo(DataResidencyCreateConfig.DefaultInferenceGeo defaultInferenceGeo)
Default inference geo applied when requests omit the parameter. Defaults to 'global' if omitted. Must be a member of
allowed_inference_geosunlessallowed_inference_geosis"unrestricted".
-
defaultInferenceGeo
final DataResidencyCreateConfig.Builder defaultInferenceGeo(Optional<DataResidencyCreateConfig.DefaultInferenceGeo> defaultInferenceGeo)
Alias for calling Builder.defaultInferenceGeo with
defaultInferenceGeo.orElse(null).
-
defaultInferenceGeo
final DataResidencyCreateConfig.Builder defaultInferenceGeo(JsonField<DataResidencyCreateConfig.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 DataResidencyCreateConfig.Builder workspaceGeo(DataResidencyCreateConfig.WorkspaceGeo workspaceGeo)
Geographic region for workspace data storage. Immutable after creation. Defaults to 'us' if omitted.
-
workspaceGeo
final DataResidencyCreateConfig.Builder workspaceGeo(Optional<DataResidencyCreateConfig.WorkspaceGeo> workspaceGeo)
Alias for calling Builder.workspaceGeo with
workspaceGeo.orElse(null).
-
workspaceGeo
final DataResidencyCreateConfig.Builder workspaceGeo(JsonField<DataResidencyCreateConfig.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 DataResidencyCreateConfig.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
allowedInferenceGeosOfGeos
final DataResidencyCreateConfig.Builder allowedInferenceGeosOfGeos(List<AllowedInferenceGeo> geos)
Alias for calling allowedInferenceGeos with
AllowedInferenceGeos.ofGeos(geos).
-
allowedInferenceGeosUnrestricted
final DataResidencyCreateConfig.Builder allowedInferenceGeosUnrestricted()
Alias for calling allowedInferenceGeos with
AllowedInferenceGeos.ofUnrestricted().
-
putAdditionalProperty
final DataResidencyCreateConfig.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DataResidencyCreateConfig.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DataResidencyCreateConfig.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DataResidencyCreateConfig.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DataResidencyCreateConfig build()
Returns an immutable instance of DataResidencyCreateConfig.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-