@Generated(value="software.amazon.awssdk:codegen") public final class DataConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataConfig.Builder,DataConfig>
The data configuration for your dataset group and any additional datasets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AdditionalDataset> |
additionalDatasets()
Additional built-in datasets like Holidays and the Weather Index.
|
List<AttributeConfig> |
attributeConfigs()
Aggregation and filling options for attributes in your dataset group.
|
static DataConfig.Builder |
builder() |
String |
datasetGroupArn()
The ARN of the dataset group used to train the predictor.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalDatasets()
For responses, this returns true if the service returned a value for the AdditionalDatasets property.
|
boolean |
hasAttributeConfigs()
For responses, this returns true if the service returned a value for the AttributeConfigs property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataConfig.Builder> |
serializableBuilderClass() |
DataConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String datasetGroupArn()
The ARN of the dataset group used to train the predictor.
public final boolean hasAttributeConfigs()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AttributeConfig> attributeConfigs()
Aggregation and filling options for attributes in your dataset group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAttributeConfigs() method.
public final boolean hasAdditionalDatasets()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AdditionalDataset> additionalDatasets()
Additional built-in datasets like Holidays and the Weather Index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalDatasets() method.
public DataConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataConfig.Builder,DataConfig>public static DataConfig.Builder builder()
public static Class<? extends DataConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.