@Generated(value="software.amazon.awssdk:codegen") public final class LinuxParameters extends Object implements StructuredPojo, ToCopyableBuilder<LinuxParameters.Builder,LinuxParameters>
Linux-specific options that are applied to the container, such as Linux KernelCapabilities.
Modifier and Type | Class and Description |
---|---|
static interface |
LinuxParameters.Builder |
Modifier and Type | Method and Description |
---|---|
static LinuxParameters.Builder |
builder() |
KernelCapabilities |
capabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
|
List<Device> |
devices()
Any host devices to expose to the container.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
initProcessEnabled()
Run an
init process inside the container that forwards signals and reaps processes. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends LinuxParameters.Builder> |
serializableBuilderClass() |
LinuxParameters.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public KernelCapabilities capabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
public List<Device> devices()
Any host devices to expose to the container. This parameter maps to Devices
in the Create a
container section of the Docker Remote API and the
--device
option to docker run.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Devices
in the Create a
container section of the Docker Remote API and
the --device
option to docker
run.public Boolean initProcessEnabled()
Run an init
process inside the container that forwards signals and reaps processes. This parameter
maps to the --init
option to docker run.
This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the
Docker Remote API version on your container instance, log into your container instance and run the following
command: sudo docker version | grep "Server API version"
init
process inside the container that forwards signals and reaps processes. This
parameter maps to the --init
option to docker run. This parameter requires version 1.25
of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on
your container instance, log into your container instance and run the following command:
sudo docker version | grep "Server API version"
public LinuxParameters.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LinuxParameters.Builder,LinuxParameters>
public static LinuxParameters.Builder builder()
public static Class<? extends LinuxParameters.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.