@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputDataConfig extends Object implements Serializable, Cloneable, StructuredPojo
This object belongs to the CreatePredictor operation. If you created your predictor with CreateAutoPredictor, see DataConfig.
The data used to train a predictor. The data includes a dataset group and any supplementary features. You specify this object in the CreatePredictor request.
Constructor and Description |
---|
InputDataConfig() |
Modifier and Type | Method and Description |
---|---|
InputDataConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
List<SupplementaryFeature> |
getSupplementaryFeatures()
An array of supplementary features.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
void |
setSupplementaryFeatures(Collection<SupplementaryFeature> supplementaryFeatures)
An array of supplementary features.
|
String |
toString()
Returns a string representation of this object.
|
InputDataConfig |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
InputDataConfig |
withSupplementaryFeatures(Collection<SupplementaryFeature> supplementaryFeatures)
An array of supplementary features.
|
InputDataConfig |
withSupplementaryFeatures(SupplementaryFeature... supplementaryFeatures)
An array of supplementary features.
|
public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
public InputDataConfig withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.public List<SupplementaryFeature> getSupplementaryFeatures()
An array of supplementary features. The only supported feature is a holiday calendar.
public void setSupplementaryFeatures(Collection<SupplementaryFeature> supplementaryFeatures)
An array of supplementary features. The only supported feature is a holiday calendar.
supplementaryFeatures
- An array of supplementary features. The only supported feature is a holiday calendar.public InputDataConfig withSupplementaryFeatures(SupplementaryFeature... supplementaryFeatures)
An array of supplementary features. The only supported feature is a holiday calendar.
NOTE: This method appends the values to the existing list (if any). Use
setSupplementaryFeatures(java.util.Collection)
or
withSupplementaryFeatures(java.util.Collection)
if you want to override the existing values.
supplementaryFeatures
- An array of supplementary features. The only supported feature is a holiday calendar.public InputDataConfig withSupplementaryFeatures(Collection<SupplementaryFeature> supplementaryFeatures)
An array of supplementary features. The only supported feature is a holiday calendar.
supplementaryFeatures
- An array of supplementary features. The only supported feature is a holiday calendar.public String toString()
toString
in class Object
Object.toString()
public InputDataConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.