@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinuxParameters extends Object implements Serializable, Cloneable, StructuredPojo
Linux-specific modifications that are applied to the container, such as details for device mappings.
Constructor and Description |
---|
LinuxParameters() |
Modifier and Type | Method and Description |
---|---|
LinuxParameters |
clone() |
boolean |
equals(Object obj) |
List<Device> |
getDevices()
Any host devices to expose to the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDevices(Collection<Device> devices)
Any host devices to expose to the container.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
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 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.