@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinuxParameters extends Object implements Serializable, Cloneable, StructuredPojo
Linux-specific options that are applied to the container, such as Linux KernelCapabilities.
Constructor and Description |
---|
LinuxParameters() |
Modifier and Type | Method and Description |
---|---|
LinuxParameters |
clone() |
boolean |
equals(Object obj) |
KernelCapabilities |
getCapabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
|
List<Device> |
getDevices()
Any host devices to expose to the container.
|
Boolean |
getInitProcessEnabled()
Run an
init process inside the container that forwards signals and reaps processes. |
int |
hashCode() |
Boolean |
isInitProcessEnabled()
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 . |
void |
setCapabilities(KernelCapabilities capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
|
void |
setDevices(Collection<Device> devices)
Any host devices to expose to the container.
|
void |
setInitProcessEnabled(Boolean initProcessEnabled)
Run an
init process inside the container that forwards signals and reaps processes. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LinuxParameters |
withCapabilities(KernelCapabilities capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided by
Docker.
|
LinuxParameters |
withDevices(Collection<Device> devices)
Any host devices to expose to the container.
|
LinuxParameters |
withDevices(Device... devices)
Any host devices to expose to the container.
|
LinuxParameters |
withInitProcessEnabled(Boolean initProcessEnabled)
Run an
init process inside the container that forwards signals and reaps processes. |
public void setCapabilities(KernelCapabilities capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
capabilities
- The Linux capabilities for the container that are added to or dropped from the default configuration
provided by Docker.public KernelCapabilities getCapabilities()
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
public LinuxParameters withCapabilities(KernelCapabilities capabilities)
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
capabilities
- The Linux capabilities for the container that are added to or dropped from the default configuration
provided by Docker.public List<Device> getDevices()
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.
Devices
in the Create a
container section of the Docker Remote API and
the --device
option to docker
run.public void setDevices(Collection<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.
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.public LinuxParameters withDevices(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.
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection)
or withDevices(java.util.Collection)
if you want to override
the existing values.
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.public LinuxParameters withDevices(Collection<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.
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.public void setInitProcessEnabled(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"
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"
public Boolean getInitProcessEnabled()
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 withInitProcessEnabled(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"
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"
public Boolean isInitProcessEnabled()
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 String toString()
toString
in class Object
Object.toString()
public LinuxParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.