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