Class ContainerCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ContainerCreateParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final ContainerCreateParams.Body.Builder name(String name)
Name of the container to create.
-
name
final ContainerCreateParams.Body.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.
-
expiresAfter
final ContainerCreateParams.Body.Builder expiresAfter(ContainerCreateParams.ExpiresAfter expiresAfter)
Container expiration time in seconds relative to the 'anchor' time.
-
expiresAfter
final ContainerCreateParams.Body.Builder expiresAfter(JsonField<ContainerCreateParams.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.
-
fileIds
final ContainerCreateParams.Body.Builder fileIds(List<String> fileIds)
IDs of files to copy to the container.
-
fileIds
final ContainerCreateParams.Body.Builder fileIds(JsonField<List<String>> fileIds)
Sets Builder.fileIds to an arbitrary JSON value.
You should usually call Builder.fileIds with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFileId
final ContainerCreateParams.Body.Builder addFileId(String fileId)
-
additionalProperties
final ContainerCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContainerCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContainerCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContainerCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContainerCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContainerCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-