@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLContainerDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A list of container definitions that describe the different containers that make up an AutoML candidate. For more information, see ContainerDefinition.
Constructor and Description |
---|
AutoMLContainerDefinition() |
Modifier and Type | Method and Description |
---|---|
AutoMLContainerDefinition |
addEnvironmentEntry(String key,
String value)
Add a single Environment entry
|
AutoMLContainerDefinition |
clearEnvironmentEntries()
Removes all the entries added into Environment.
|
AutoMLContainerDefinition |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getEnvironment()
The environment variables to set in the container.
|
String |
getImage()
The Amazon Elastic Container Registry (Amazon ECR) path of the container.
|
String |
getModelDataUrl()
The location of the model artifacts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnvironment(Map<String,String> environment)
The environment variables to set in the container.
|
void |
setImage(String image)
The Amazon Elastic Container Registry (Amazon ECR) path of the container.
|
void |
setModelDataUrl(String modelDataUrl)
The location of the model artifacts.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLContainerDefinition |
withEnvironment(Map<String,String> environment)
The environment variables to set in the container.
|
AutoMLContainerDefinition |
withImage(String image)
The Amazon Elastic Container Registry (Amazon ECR) path of the container.
|
AutoMLContainerDefinition |
withModelDataUrl(String modelDataUrl)
The location of the model artifacts.
|
public void setImage(String image)
The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see ContainerDefinition.
image
- The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see
ContainerDefinition.public String getImage()
The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see ContainerDefinition.
public AutoMLContainerDefinition withImage(String image)
The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see ContainerDefinition.
image
- The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more information, see
ContainerDefinition.public void setModelDataUrl(String modelDataUrl)
The location of the model artifacts. For more information, see ContainerDefinition.
modelDataUrl
- The location of the model artifacts. For more information, see
ContainerDefinition.public String getModelDataUrl()
The location of the model artifacts. For more information, see ContainerDefinition.
public AutoMLContainerDefinition withModelDataUrl(String modelDataUrl)
The location of the model artifacts. For more information, see ContainerDefinition.
modelDataUrl
- The location of the model artifacts. For more information, see
ContainerDefinition.public Map<String,String> getEnvironment()
The environment variables to set in the container. For more information, see ContainerDefinition.
public void setEnvironment(Map<String,String> environment)
The environment variables to set in the container. For more information, see ContainerDefinition.
environment
- The environment variables to set in the container. For more information, see
ContainerDefinition.public AutoMLContainerDefinition withEnvironment(Map<String,String> environment)
The environment variables to set in the container. For more information, see ContainerDefinition.
environment
- The environment variables to set in the container. For more information, see
ContainerDefinition.public AutoMLContainerDefinition addEnvironmentEntry(String key, String value)
public AutoMLContainerDefinition clearEnvironmentEntries()
public String toString()
toString
in class Object
Object.toString()
public AutoMLContainerDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.