@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails extends Object implements Serializable, Cloneable, StructuredPojo
The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdd()
The Linux capabilities for the container that are added to the default configuration provided by Docker.
|
List<String> |
getDrop()
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdd(Collection<String> add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
|
void |
setDrop(Collection<String> drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails |
withAdd(Collection<String> add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails |
withAdd(String... add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails |
withDrop(Collection<String> drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
|
AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails |
withDrop(String... drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
|
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails()
public List<String> getAdd()
The Linux capabilities for the container that are added to the default configuration provided by Docker.
public void setAdd(Collection<String> add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
add
- The Linux capabilities for the container that are added to the default configuration provided by Docker.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withAdd(String... add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
NOTE: This method appends the values to the existing list (if any). Use
setAdd(java.util.Collection)
or withAdd(java.util.Collection)
if you want to override the
existing values.
add
- The Linux capabilities for the container that are added to the default configuration provided by Docker.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withAdd(Collection<String> add)
The Linux capabilities for the container that are added to the default configuration provided by Docker.
add
- The Linux capabilities for the container that are added to the default configuration provided by Docker.public List<String> getDrop()
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
public void setDrop(Collection<String> drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
drop
- The Linux capabilities for the container that are dropped from the default configuration provided by
Docker.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withDrop(String... drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
NOTE: This method appends the values to the existing list (if any). Use
setDrop(java.util.Collection)
or withDrop(java.util.Collection)
if you want to override the
existing values.
drop
- The Linux capabilities for the container that are dropped from the default configuration provided by
Docker.public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withDrop(Collection<String> drop)
The Linux capabilities for the container that are dropped from the default configuration provided by Docker.
drop
- The Linux capabilities for the container that are dropped from the default configuration provided by
Docker.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.