@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutModelRequest() |
Modifier and Type | Method and Description |
---|---|
PutModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The model description.
|
LabelSchema |
getLabelSchema()
The label schema.
|
String |
getModelId()
The model ID.
|
String |
getModelType()
The model type.
|
List<ModelVariable> |
getModelVariables()
The model input variables.
|
TrainingDataSource |
getTrainingDataSource()
The training data source location in Amazon S3.
|
int |
hashCode() |
void |
setDescription(String description)
The model description.
|
void |
setLabelSchema(LabelSchema labelSchema)
The label schema.
|
void |
setModelId(String modelId)
The model ID.
|
void |
setModelType(String modelType)
The model type.
|
void |
setModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
|
void |
setTrainingDataSource(TrainingDataSource trainingDataSource)
The training data source location in Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
PutModelRequest |
withDescription(String description)
The model description.
|
PutModelRequest |
withLabelSchema(LabelSchema labelSchema)
The label schema.
|
PutModelRequest |
withModelId(String modelId)
The model ID.
|
PutModelRequest |
withModelType(ModelTypeEnum modelType)
The model type.
|
PutModelRequest |
withModelType(String modelType)
The model type.
|
PutModelRequest |
withModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
|
PutModelRequest |
withModelVariables(ModelVariable... modelVariables)
The model input variables.
|
PutModelRequest |
withTrainingDataSource(TrainingDataSource trainingDataSource)
The training data source location in Amazon S3.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setModelId(String modelId)
The model ID.
modelId
- The model ID.public String getModelId()
The model ID.
public PutModelRequest withModelId(String modelId)
The model ID.
modelId
- The model ID.public void setModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public String getModelType()
The model type.
ModelTypeEnum
public PutModelRequest withModelType(String modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public PutModelRequest withModelType(ModelTypeEnum modelType)
The model type.
modelType
- The model type.ModelTypeEnum
public void setDescription(String description)
The model description.
description
- The model description.public String getDescription()
The model description.
public PutModelRequest withDescription(String description)
The model description.
description
- The model description.public void setTrainingDataSource(TrainingDataSource trainingDataSource)
The training data source location in Amazon S3.
trainingDataSource
- The training data source location in Amazon S3.public TrainingDataSource getTrainingDataSource()
The training data source location in Amazon S3.
public PutModelRequest withTrainingDataSource(TrainingDataSource trainingDataSource)
The training data source location in Amazon S3.
trainingDataSource
- The training data source location in Amazon S3.public List<ModelVariable> getModelVariables()
The model input variables.
public void setModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
modelVariables
- The model input variables.public PutModelRequest withModelVariables(ModelVariable... modelVariables)
The model input variables.
NOTE: This method appends the values to the existing list (if any). Use
setModelVariables(java.util.Collection)
or withModelVariables(java.util.Collection)
if you want
to override the existing values.
modelVariables
- The model input variables.public PutModelRequest withModelVariables(Collection<ModelVariable> modelVariables)
The model input variables.
modelVariables
- The model input variables.public void setLabelSchema(LabelSchema labelSchema)
The label schema.
labelSchema
- The label schema.public LabelSchema getLabelSchema()
The label schema.
public PutModelRequest withLabelSchema(LabelSchema labelSchema)
The label schema.
labelSchema
- The label schema.public String toString()
toString
in class Object
Object.toString()
public PutModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.