Class OriginRequest.WebProxy.Builder
-
- All Implemented Interfaces:
public final class OriginRequest.WebProxy.BuilderA builder for WebProxy.
-
-
Method Summary
-
-
Method Detail
-
name
final OriginRequest.WebProxy.Builder name(String name)
Display name of the origin.
-
name
final OriginRequest.WebProxy.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.
-
type
final OriginRequest.WebProxy.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("WEB_PROXY")This method is primarily for setting the field to an undocumented or not yet supported value.
-
baseUrlForCanonicalHeader
final OriginRequest.WebProxy.Builder baseUrlForCanonicalHeader(String baseUrlForCanonicalHeader)
URL used in the Canonical header (if enabled).
-
baseUrlForCanonicalHeader
final OriginRequest.WebProxy.Builder baseUrlForCanonicalHeader(JsonField<String> baseUrlForCanonicalHeader)
Sets Builder.baseUrlForCanonicalHeader to an arbitrary JSON value.
You should usually call Builder.baseUrlForCanonicalHeader with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
includeCanonicalHeader
final OriginRequest.WebProxy.Builder includeCanonicalHeader(Boolean includeCanonicalHeader)
Whether to send a Canonical header.
-
includeCanonicalHeader
final OriginRequest.WebProxy.Builder includeCanonicalHeader(JsonField<Boolean> includeCanonicalHeader)
Sets Builder.includeCanonicalHeader to an arbitrary JSON value.
You should usually call Builder.includeCanonicalHeader with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OriginRequest.WebProxy.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OriginRequest.WebProxy.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OriginRequest.WebProxy.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OriginRequest.WebProxy.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OriginRequest.WebProxy.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OriginRequest.WebProxy build()
Returns an immutable instance of WebProxy.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-