Class ContainerCreateResponse.Builder
-
- All Implemented Interfaces:
public final class ContainerCreateResponse.Builder
A builder for ContainerCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final ContainerCreateResponse.Builder id(String id)
Unique identifier for the container.
-
id
final ContainerCreateResponse.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 ContainerCreateResponse.Builder createdAt(Long createdAt)
Unix timestamp (in seconds) when the container was created.
-
createdAt
final ContainerCreateResponse.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 ContainerCreateResponse.Builder name(String name)
Name of the container.
-
name
final ContainerCreateResponse.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 ContainerCreateResponse.Builder object_(String object_)
The type of this object.
-
object_
final ContainerCreateResponse.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 ContainerCreateResponse.Builder status(String status)
Status of the container (e.g., active, deleted).
-
status
final ContainerCreateResponse.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 ContainerCreateResponse.Builder expiresAfter(ContainerCreateResponse.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 ContainerCreateResponse.Builder expiresAfter(JsonField<ContainerCreateResponse.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 ContainerCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContainerCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContainerCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContainerCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContainerCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContainerCreateResponse build()
Returns an immutable instance of ContainerCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name() .object_() .status()
-
-
-
-