@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelCompilationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Settings for the model compilation technique that's applied by a model optimization job.
Constructor and Description |
---|
ModelCompilationConfig() |
Modifier and Type | Method and Description |
---|---|
ModelCompilationConfig |
addOverrideEnvironmentEntry(String key,
String value)
Add a single OverrideEnvironment entry
|
ModelCompilationConfig |
clearOverrideEnvironmentEntries()
Removes all the entries added into OverrideEnvironment.
|
ModelCompilationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getImage()
The URI of an LMI DLC in Amazon ECR.
|
Map<String,String> |
getOverrideEnvironment()
Environment variables that override the default ones in the model container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImage(String image)
The URI of an LMI DLC in Amazon ECR.
|
void |
setOverrideEnvironment(Map<String,String> overrideEnvironment)
Environment variables that override the default ones in the model container.
|
String |
toString()
Returns a string representation of this object.
|
ModelCompilationConfig |
withImage(String image)
The URI of an LMI DLC in Amazon ECR.
|
ModelCompilationConfig |
withOverrideEnvironment(Map<String,String> overrideEnvironment)
Environment variables that override the default ones in the model container.
|
public void setImage(String image)
The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.
image
- The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.public String getImage()
The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.
public ModelCompilationConfig withImage(String image)
The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.
image
- The URI of an LMI DLC in Amazon ECR. SageMaker uses this image to run the optimization.public Map<String,String> getOverrideEnvironment()
Environment variables that override the default ones in the model container.
public void setOverrideEnvironment(Map<String,String> overrideEnvironment)
Environment variables that override the default ones in the model container.
overrideEnvironment
- Environment variables that override the default ones in the model container.public ModelCompilationConfig withOverrideEnvironment(Map<String,String> overrideEnvironment)
Environment variables that override the default ones in the model container.
overrideEnvironment
- Environment variables that override the default ones in the model container.public ModelCompilationConfig addOverrideEnvironmentEntry(String key, String value)
public ModelCompilationConfig clearOverrideEnvironmentEntries()
public String toString()
toString
in class Object
Object.toString()
public ModelCompilationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.