@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration used to run the application image container.
Constructor and Description |
---|
ContainerConfig() |
Modifier and Type | Method and Description |
---|---|
ContainerConfig |
addContainerEnvironmentVariablesEntry(String key,
String value)
Add a single ContainerEnvironmentVariables entry
|
ContainerConfig |
clearContainerEnvironmentVariablesEntries()
Removes all the entries added into ContainerEnvironmentVariables.
|
ContainerConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContainerArguments()
The arguments for the container when you're running the application.
|
List<String> |
getContainerEntrypoint()
The entrypoint used to run the application in the container.
|
Map<String,String> |
getContainerEnvironmentVariables()
The environment variables to set in the container
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerArguments(Collection<String> containerArguments)
The arguments for the container when you're running the application.
|
void |
setContainerEntrypoint(Collection<String> containerEntrypoint)
The entrypoint used to run the application in the container.
|
void |
setContainerEnvironmentVariables(Map<String,String> containerEnvironmentVariables)
The environment variables to set in the container
|
String |
toString()
Returns a string representation of this object.
|
ContainerConfig |
withContainerArguments(Collection<String> containerArguments)
The arguments for the container when you're running the application.
|
ContainerConfig |
withContainerArguments(String... containerArguments)
The arguments for the container when you're running the application.
|
ContainerConfig |
withContainerEntrypoint(Collection<String> containerEntrypoint)
The entrypoint used to run the application in the container.
|
ContainerConfig |
withContainerEntrypoint(String... containerEntrypoint)
The entrypoint used to run the application in the container.
|
ContainerConfig |
withContainerEnvironmentVariables(Map<String,String> containerEnvironmentVariables)
The environment variables to set in the container
|
public List<String> getContainerArguments()
The arguments for the container when you're running the application.
public void setContainerArguments(Collection<String> containerArguments)
The arguments for the container when you're running the application.
containerArguments
- The arguments for the container when you're running the application.public ContainerConfig withContainerArguments(String... containerArguments)
The arguments for the container when you're running the application.
NOTE: This method appends the values to the existing list (if any). Use
setContainerArguments(java.util.Collection)
or withContainerArguments(java.util.Collection)
if
you want to override the existing values.
containerArguments
- The arguments for the container when you're running the application.public ContainerConfig withContainerArguments(Collection<String> containerArguments)
The arguments for the container when you're running the application.
containerArguments
- The arguments for the container when you're running the application.public List<String> getContainerEntrypoint()
The entrypoint used to run the application in the container.
public void setContainerEntrypoint(Collection<String> containerEntrypoint)
The entrypoint used to run the application in the container.
containerEntrypoint
- The entrypoint used to run the application in the container.public ContainerConfig withContainerEntrypoint(String... containerEntrypoint)
The entrypoint used to run the application in the container.
NOTE: This method appends the values to the existing list (if any). Use
setContainerEntrypoint(java.util.Collection)
or withContainerEntrypoint(java.util.Collection)
if you want to override the existing values.
containerEntrypoint
- The entrypoint used to run the application in the container.public ContainerConfig withContainerEntrypoint(Collection<String> containerEntrypoint)
The entrypoint used to run the application in the container.
containerEntrypoint
- The entrypoint used to run the application in the container.public Map<String,String> getContainerEnvironmentVariables()
The environment variables to set in the container
public void setContainerEnvironmentVariables(Map<String,String> containerEnvironmentVariables)
The environment variables to set in the container
containerEnvironmentVariables
- The environment variables to set in the containerpublic ContainerConfig withContainerEnvironmentVariables(Map<String,String> containerEnvironmentVariables)
The environment variables to set in the container
containerEnvironmentVariables
- The environment variables to set in the containerpublic ContainerConfig addContainerEnvironmentVariablesEntry(String key, String value)
public ContainerConfig clearContainerEnvironmentVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public ContainerConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.