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