@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails extends Object implements Serializable, Cloneable, StructuredPojo
A host device to expose to the container.
| Constructor and Description |
|---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails |
clone() |
boolean |
equals(Object obj) |
String |
getContainerPath()
The path inside the container at which to expose the host device.
|
String |
getHostPath()
The path for the device on the host container instance.
|
List<String> |
getPermissions()
The explicit permissions to provide to the container for the device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainerPath(String containerPath)
The path inside the container at which to expose the host device.
|
void |
setHostPath(String hostPath)
The path for the device on the host container instance.
|
void |
setPermissions(Collection<String> permissions)
The explicit permissions to provide to the container for the device.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails |
withContainerPath(String containerPath)
The path inside the container at which to expose the host device.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails |
withHostPath(String hostPath)
The path for the device on the host container instance.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails |
withPermissions(Collection<String> permissions)
The explicit permissions to provide to the container for the device.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails |
withPermissions(String... permissions)
The explicit permissions to provide to the container for the device.
|
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails()
public void setContainerPath(String containerPath)
The path inside the container at which to expose the host device.
containerPath - The path inside the container at which to expose the host device.public String getContainerPath()
The path inside the container at which to expose the host device.
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails withContainerPath(String containerPath)
The path inside the container at which to expose the host device.
containerPath - The path inside the container at which to expose the host device.public void setHostPath(String hostPath)
The path for the device on the host container instance.
hostPath - The path for the device on the host container instance.public String getHostPath()
The path for the device on the host container instance.
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails withHostPath(String hostPath)
The path for the device on the host container instance.
hostPath - The path for the device on the host container instance.public List<String> getPermissions()
The explicit permissions to provide to the container for the device. By default, the container has permissions
for read, write, and mknod for the device.
mknod for the device.public void setPermissions(Collection<String> permissions)
The explicit permissions to provide to the container for the device. By default, the container has permissions
for read, write, and mknod for the device.
permissions - The explicit permissions to provide to the container for the device. By default, the container has
permissions for read, write, and mknod for the device.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails withPermissions(String... permissions)
The explicit permissions to provide to the container for the device. By default, the container has permissions
for read, write, and mknod for the device.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to
override the existing values.
permissions - The explicit permissions to provide to the container for the device. By default, the container has
permissions for read, write, and mknod for the device.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails withPermissions(Collection<String> permissions)
The explicit permissions to provide to the container for the device. By default, the container has permissions
for read, write, and mknod for the device.
permissions - The explicit permissions to provide to the container for the device. By default, the container has
permissions for read, write, and mknod for the device.public String toString()
toString in class ObjectObject.toString()public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.