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