Class ContainerCreateParams.ExpiresAfter
-
- All Implemented Interfaces:
public final class ContainerCreateParams.ExpiresAfterContainer expiration time in seconds relative to the 'anchor' time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerCreateParams.ExpiresAfter.BuilderA builder for ExpiresAfter.
public final classContainerCreateParams.ExpiresAfter.AnchorTime anchor for the expiration time. Currently only 'last_active_at' is supported.
-
Method Summary
Modifier and Type Method Description final ContainerCreateParams.ExpiresAfter.Anchoranchor()Time anchor for the expiration time. final Longminutes()final JsonField<ContainerCreateParams.ExpiresAfter.Anchor>_anchor()Returns the raw JSON value of anchor. final JsonField<Long>_minutes()Returns the raw JSON value of minutes. final Map<String, JsonValue>_additionalProperties()final ContainerCreateParams.ExpiresAfter.BuildertoBuilder()final ContainerCreateParams.ExpiresAftervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerCreateParams.ExpiresAfter.Builderbuilder()Returns a mutable builder for constructing an instance of ExpiresAfter. -
-
Method Detail
-
anchor
final ContainerCreateParams.ExpiresAfter.Anchor anchor()
Time anchor for the expiration time. Currently only 'last_active_at' is supported.
-
_anchor
final JsonField<ContainerCreateParams.ExpiresAfter.Anchor> _anchor()
Returns the raw JSON value of anchor.
Unlike anchor, this method doesn't throw if the JSON field has an unexpected type.
-
_minutes
final JsonField<Long> _minutes()
Returns the raw JSON value of minutes.
Unlike minutes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerCreateParams.ExpiresAfter.Builder toBuilder()
-
validate
final ContainerCreateParams.ExpiresAfter 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 ContainerCreateParams.ExpiresAfter.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAfter.
The following fields are required:
.anchor() .minutes()
-
-
-
-