Class BetaCacheControlEphemeral
-
- All Implemented Interfaces:
public final class BetaCacheControlEphemeral
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCacheControlEphemeral.BuilderA builder for BetaCacheControlEphemeral.
public final classBetaCacheControlEphemeral.TtlThe time-to-live for the cache control breakpoint.
This may be one the following values:
5m: 5 minutes1h: 1 hour
Defaults to
5m.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("ephemeral")final Optional<BetaCacheControlEphemeral.Ttl>ttl()The time-to-live for the cache control breakpoint. final JsonField<BetaCacheControlEphemeral.Ttl>_ttl()Returns the raw JSON value of ttl. final Map<String, JsonValue>_additionalProperties()final BetaCacheControlEphemeral.BuildertoBuilder()final BetaCacheControlEphemeralvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCacheControlEphemeral.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCacheControlEphemeral. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("ephemeral")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
ttl
final Optional<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 JsonField<BetaCacheControlEphemeral.Ttl> _ttl()
Returns the raw JSON value of ttl.
Unlike ttl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCacheControlEphemeral.Builder toBuilder()
-
validate
final BetaCacheControlEphemeral validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaCacheControlEphemeral.Builder builder()
Returns a mutable builder for constructing an instance of BetaCacheControlEphemeral.
-
-
-
-