@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Defines the model configuration. Includes the specification name and environment parameters.
Constructor and Description |
---|
ModelConfiguration() |
Modifier and Type | Method and Description |
---|---|
ModelConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCompilationJobName()
The name of the compilation job used to create the recommended model artifacts.
|
List<EnvironmentParameter> |
getEnvironmentParameters()
Defines the environment parameters that includes key, value types, and values.
|
String |
getInferenceSpecificationName()
The inference specification name in the model package version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompilationJobName(String compilationJobName)
The name of the compilation job used to create the recommended model artifacts.
|
void |
setEnvironmentParameters(Collection<EnvironmentParameter> environmentParameters)
Defines the environment parameters that includes key, value types, and values.
|
void |
setInferenceSpecificationName(String inferenceSpecificationName)
The inference specification name in the model package version.
|
String |
toString()
Returns a string representation of this object.
|
ModelConfiguration |
withCompilationJobName(String compilationJobName)
The name of the compilation job used to create the recommended model artifacts.
|
ModelConfiguration |
withEnvironmentParameters(Collection<EnvironmentParameter> environmentParameters)
Defines the environment parameters that includes key, value types, and values.
|
ModelConfiguration |
withEnvironmentParameters(EnvironmentParameter... environmentParameters)
Defines the environment parameters that includes key, value types, and values.
|
ModelConfiguration |
withInferenceSpecificationName(String inferenceSpecificationName)
The inference specification name in the model package version.
|
public void setInferenceSpecificationName(String inferenceSpecificationName)
The inference specification name in the model package version.
inferenceSpecificationName
- The inference specification name in the model package version.public String getInferenceSpecificationName()
The inference specification name in the model package version.
public ModelConfiguration withInferenceSpecificationName(String inferenceSpecificationName)
The inference specification name in the model package version.
inferenceSpecificationName
- The inference specification name in the model package version.public List<EnvironmentParameter> getEnvironmentParameters()
Defines the environment parameters that includes key, value types, and values.
public void setEnvironmentParameters(Collection<EnvironmentParameter> environmentParameters)
Defines the environment parameters that includes key, value types, and values.
environmentParameters
- Defines the environment parameters that includes key, value types, and values.public ModelConfiguration withEnvironmentParameters(EnvironmentParameter... environmentParameters)
Defines the environment parameters that includes key, value types, and values.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentParameters(java.util.Collection)
or
withEnvironmentParameters(java.util.Collection)
if you want to override the existing values.
environmentParameters
- Defines the environment parameters that includes key, value types, and values.public ModelConfiguration withEnvironmentParameters(Collection<EnvironmentParameter> environmentParameters)
Defines the environment parameters that includes key, value types, and values.
environmentParameters
- Defines the environment parameters that includes key, value types, and values.public void setCompilationJobName(String compilationJobName)
The name of the compilation job used to create the recommended model artifacts.
compilationJobName
- The name of the compilation job used to create the recommended model artifacts.public String getCompilationJobName()
The name of the compilation job used to create the recommended model artifacts.
public ModelConfiguration withCompilationJobName(String compilationJobName)
The name of the compilation job used to create the recommended model artifacts.
compilationJobName
- The name of the compilation job used to create the recommended model artifacts.public String toString()
toString
in class Object
Object.toString()
public ModelConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.