Interface Featurization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Featurization.Builder,
,Featurization> SdkBuilder<Featurization.Builder,
,Featurization> SdkPojo
- Enclosing class:
Featurization
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the schema attribute that specifies the data field to be featurized.featurizationPipeline
(Collection<FeaturizationMethod> featurizationPipeline) An array of oneFeaturizationMethod
object that specifies the feature transformation method.featurizationPipeline
(Consumer<FeaturizationMethod.Builder>... featurizationPipeline) An array of oneFeaturizationMethod
object that specifies the feature transformation method.featurizationPipeline
(FeaturizationMethod... featurizationPipeline) An array of oneFeaturizationMethod
object that specifies the feature transformation method.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
attributeName
The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the target field of the
TARGET_TIME_SERIES
and theRELATED_TIME_SERIES
datasets. For example, for theRETAIL
domain, the target isdemand
, and for theCUSTOM
domain, the target istarget_value
. For more information, see howitworks-missing-values.- Parameters:
attributeName
- The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the target field of theTARGET_TIME_SERIES
and theRELATED_TIME_SERIES
datasets. For example, for theRETAIL
domain, the target isdemand
, and for theCUSTOM
domain, the target istarget_value
. For more information, see howitworks-missing-values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featurizationPipeline
An array of one
FeaturizationMethod
object that specifies the feature transformation method.- Parameters:
featurizationPipeline
- An array of oneFeaturizationMethod
object that specifies the feature transformation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featurizationPipeline
An array of one
FeaturizationMethod
object that specifies the feature transformation method.- Parameters:
featurizationPipeline
- An array of oneFeaturizationMethod
object that specifies the feature transformation method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featurizationPipeline
Featurization.Builder featurizationPipeline(Consumer<FeaturizationMethod.Builder>... featurizationPipeline) An array of one
This is a convenience method that creates an instance of theFeaturizationMethod
object that specifies the feature transformation method.FeaturizationMethod.Builder
avoiding the need to create one manually viaFeaturizationMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeaturizationPipeline(List<FeaturizationMethod>)
.- Parameters:
featurizationPipeline
- a consumer that will call methods onFeaturizationMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-