Interface TimeSeriesTransformations.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TimeSeriesTransformations.Builder,TimeSeriesTransformations>
,SdkBuilder<TimeSeriesTransformations.Builder,TimeSeriesTransformations>
,SdkPojo
- Enclosing class:
- TimeSeriesTransformations
public static interface TimeSeriesTransformations.Builder extends SdkPojo, CopyableBuilder<TimeSeriesTransformations.Builder,TimeSeriesTransformations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSeriesTransformations.Builder
aggregation(Map<String,AggregationTransformationValue> aggregation)
A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.TimeSeriesTransformations.Builder
aggregationWithStrings(Map<String,String> aggregation)
A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.TimeSeriesTransformations.Builder
fillingWithStrings(Map<String,? extends Map<String,String>> filling)
A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic.-
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 Detail
-
fillingWithStrings
TimeSeriesTransformations.Builder fillingWithStrings(Map<String,? extends Map<String,String>> filling)
A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic. You can specify multiple filling methods for a single column.
The supported filling methods and their corresponding options are:
-
frontfill
:none
(Supported only for target column) -
middlefill
:zero
,value
,median
,mean
,min
,max
-
backfill
:zero
,value
,median
,mean
,min
,max
-
futurefill
:zero
,value
,median
,mean
,min
,max
To set a filling method to a specific value, set the fill parameter to the chosen filling method value (for example
"backfill" : "value"
), and define the filling value in an additional parameter prefixed with "_value". For example, to setbackfill
to a value of2
, you must include two parameters:"backfill": "value"
and"backfill_value":"2"
.- Parameters:
filling
- A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic. You can specify multiple filling methods for a single column.The supported filling methods and their corresponding options are:
-
frontfill
:none
(Supported only for target column) -
middlefill
:zero
,value
,median
,mean
,min
,max
-
backfill
:zero
,value
,median
,mean
,min
,max
-
futurefill
:zero
,value
,median
,mean
,min
,max
To set a filling method to a specific value, set the fill parameter to the chosen filling method value (for example
"backfill" : "value"
), and define the filling value in an additional parameter prefixed with "_value". For example, to setbackfill
to a value of2
, you must include two parameters:"backfill": "value"
and"backfill_value":"2"
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
aggregationWithStrings
TimeSeriesTransformations.Builder aggregationWithStrings(Map<String,String> aggregation)
A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.
The supported aggregation methods are
sum
(default),avg
,first
,min
,max
.Aggregation is only supported for the target column.
- Parameters:
aggregation
- A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.The supported aggregation methods are
sum
(default),avg
,first
,min
,max
.Aggregation is only supported for the target column.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregation
TimeSeriesTransformations.Builder aggregation(Map<String,AggregationTransformationValue> aggregation)
A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.
The supported aggregation methods are
sum
(default),avg
,first
,min
,max
.Aggregation is only supported for the target column.
- Parameters:
aggregation
- A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.The supported aggregation methods are
sum
(default),avg
,first
,min
,max
.Aggregation is only supported for the target column.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-