@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelInputConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The model input configuration.
Constructor and Description |
---|
ModelInputConfiguration() |
Modifier and Type | Method and Description |
---|---|
ModelInputConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCsvInputTemplate()
Template for constructing the CSV input-data sent to SageMaker.
|
String |
getFormat()
The format of the model input configuration.
|
Boolean |
getIsOpaque()
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and
will be passed to SageMaker as-is.
|
String |
getJsonInputTemplate()
Template for constructing the JSON input-data sent to SageMaker.
|
int |
hashCode() |
Boolean |
isOpaque()
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and
will be passed to SageMaker as-is.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCsvInputTemplate(String csvInputTemplate)
Template for constructing the CSV input-data sent to SageMaker.
|
void |
setFormat(String format)
The format of the model input configuration.
|
void |
setIsOpaque(Boolean isOpaque)
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and
will be passed to SageMaker as-is.
|
void |
setJsonInputTemplate(String jsonInputTemplate)
Template for constructing the JSON input-data sent to SageMaker.
|
String |
toString()
Returns a string representation of this object.
|
ModelInputConfiguration |
withCsvInputTemplate(String csvInputTemplate)
Template for constructing the CSV input-data sent to SageMaker.
|
ModelInputConfiguration |
withFormat(ModelInputDataFormat format)
The format of the model input configuration.
|
ModelInputConfiguration |
withFormat(String format)
The format of the model input configuration.
|
ModelInputConfiguration |
withIsOpaque(Boolean isOpaque)
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and
will be passed to SageMaker as-is.
|
ModelInputConfiguration |
withJsonInputTemplate(String jsonInputTemplate)
Template for constructing the JSON input-data sent to SageMaker.
|
public void setFormat(String format)
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
format
- The format of the model input configuration. The format differs depending on if it is passed through to
SageMaker or constructed by Amazon Fraud Detector.ModelInputDataFormat
public String getFormat()
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
ModelInputDataFormat
public ModelInputConfiguration withFormat(String format)
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
format
- The format of the model input configuration. The format differs depending on if it is passed through to
SageMaker or constructed by Amazon Fraud Detector.ModelInputDataFormat
public ModelInputConfiguration withFormat(ModelInputDataFormat format)
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
format
- The format of the model input configuration. The format differs depending on if it is passed through to
SageMaker or constructed by Amazon Fraud Detector.ModelInputDataFormat
public void setIsOpaque(Boolean isOpaque)
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by Amazon Fraud Detector based on the model-configuration.
isOpaque
- For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction
request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by
Amazon Fraud Detector based on the model-configuration.public Boolean getIsOpaque()
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by Amazon Fraud Detector based on the model-configuration.
public ModelInputConfiguration withIsOpaque(Boolean isOpaque)
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by Amazon Fraud Detector based on the model-configuration.
isOpaque
- For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction
request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by
Amazon Fraud Detector based on the model-configuration.public Boolean isOpaque()
For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by Amazon Fraud Detector based on the model-configuration.
public void setJsonInputTemplate(String jsonInputTemplate)
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
jsonInputTemplate
- Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for
variable names in the template will be replaced with the variable values before being sent to SageMaker.public String getJsonInputTemplate()
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
public ModelInputConfiguration withJsonInputTemplate(String jsonInputTemplate)
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
jsonInputTemplate
- Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for
variable names in the template will be replaced with the variable values before being sent to SageMaker.public void setCsvInputTemplate(String csvInputTemplate)
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
csvInputTemplate
- Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for
variable-names in the template will be replaced with the variable values before being sent to SageMaker.public String getCsvInputTemplate()
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
public ModelInputConfiguration withCsvInputTemplate(String csvInputTemplate)
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
csvInputTemplate
- Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for
variable-names in the template will be replaced with the variable values before being sent to SageMaker.public String toString()
toString
in class Object
Object.toString()
public ModelInputConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.