Class BetaCacheControlEphemeral.Builder
-
- All Implemented Interfaces:
public final class BetaCacheControlEphemeral.BuilderA builder for BetaCacheControlEphemeral.
-
-
Method Summary
Modifier and Type Method Description final BetaCacheControlEphemeral.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaCacheControlEphemeral.Builderttl(BetaCacheControlEphemeral.Ttl ttl)The time-to-live for the cache control breakpoint. final BetaCacheControlEphemeral.Builderttl(JsonField<BetaCacheControlEphemeral.Ttl> ttl)Sets Builder.ttl to an arbitrary JSON value. final BetaCacheControlEphemeral.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaCacheControlEphemeral.BuilderputAdditionalProperty(String key, JsonValue value)final BetaCacheControlEphemeral.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaCacheControlEphemeral.BuilderremoveAdditionalProperty(String key)final BetaCacheControlEphemeral.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaCacheControlEphemeralbuild()Returns an immutable instance of BetaCacheControlEphemeral. -
-
Method Detail
-
type
final BetaCacheControlEphemeral.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("ephemeral")This method is primarily for setting the field to an undocumented or not yet supported value.
-
ttl
final BetaCacheControlEphemeral.Builder ttl(BetaCacheControlEphemeral.Ttl ttl)
The time-to-live for the cache control breakpoint.
This may be one the following values:
5m: 5 minutes1h: 1 hour
Defaults to
5m.
-
ttl
final BetaCacheControlEphemeral.Builder ttl(JsonField<BetaCacheControlEphemeral.Ttl> ttl)
Sets Builder.ttl to an arbitrary JSON value.
You should usually call Builder.ttl with a well-typed Ttl value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCacheControlEphemeral.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCacheControlEphemeral.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCacheControlEphemeral.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCacheControlEphemeral.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCacheControlEphemeral.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCacheControlEphemeral build()
Returns an immutable instance of BetaCacheControlEphemeral.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-