Class ContainerRetrieveResponse.Builder
-
- All Implemented Interfaces:
public final class ContainerRetrieveResponse.Builder
A builder for ContainerRetrieveResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final ContainerRetrieveResponse.Builder id(String id)
Unique identifier for the container.
-
id
final ContainerRetrieveResponse.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.
-
createdAt
final ContainerRetrieveResponse.Builder createdAt(Long createdAt)
Unix timestamp (in seconds) when the container was created.
-
createdAt
final ContainerRetrieveResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ContainerRetrieveResponse.Builder name(String name)
Name of the container.
-
name
final ContainerRetrieveResponse.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.
-
object_
final ContainerRetrieveResponse.Builder object_(String object_)
The type of this object.
-
object_
final ContainerRetrieveResponse.Builder object_(JsonField<String> object_)
Sets Builder.object_ to an arbitrary JSON value.
You should usually call Builder.object_ with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ContainerRetrieveResponse.Builder status(String status)
Status of the container (e.g., active, deleted).
-
status
final ContainerRetrieveResponse.Builder status(JsonField<String> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
expiresAfter
final ContainerRetrieveResponse.Builder expiresAfter(ContainerRetrieveResponse.ExpiresAfter expiresAfter)
The container will expire after this time period. The anchor is the reference point for the expiration. The minutes is the number of minutes after the anchor before the container expires.
-
expiresAfter
final ContainerRetrieveResponse.Builder expiresAfter(JsonField<ContainerRetrieveResponse.ExpiresAfter> expiresAfter)
Sets Builder.expiresAfter to an arbitrary JSON value.
You should usually call Builder.expiresAfter with a well-typed ExpiresAfter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ContainerRetrieveResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContainerRetrieveResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContainerRetrieveResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContainerRetrieveResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContainerRetrieveResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContainerRetrieveResponse build()
Returns an immutable instance of ContainerRetrieveResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name() .object_() .status()
-
-
-
-