Interface TimeSeriesTransformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimeSeriesTransformation.Builder,TimeSeriesTransformation>,SdkBuilder<TimeSeriesTransformation.Builder,TimeSeriesTransformation>,SdkPojo
- Enclosing class:
- TimeSeriesTransformation
public static interface TimeSeriesTransformation.Builder extends SdkPojo, CopyableBuilder<TimeSeriesTransformation.Builder,TimeSeriesTransformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TimeSeriesTransformation.Builderaction(Consumer<Action.Builder> action)An array of actions that define a time series and how it is transformed.TimeSeriesTransformation.Builderaction(Action action)An array of actions that define a time series and how it is transformed.TimeSeriesTransformation.BuildertimeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)An array of conditions that define which members of the related time series are transformed.TimeSeriesTransformation.BuildertimeSeriesConditions(Consumer<TimeSeriesCondition.Builder>... timeSeriesConditions)An array of conditions that define which members of the related time series are transformed.TimeSeriesTransformation.BuildertimeSeriesConditions(TimeSeriesCondition... timeSeriesConditions)An array of conditions that define which members of the related time series are transformed.-
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, sdkFields
-
-
-
-
Method Detail
-
action
TimeSeriesTransformation.Builder action(Action action)
An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
- Parameters:
action- An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default TimeSeriesTransformation.Builder action(Consumer<Action.Builder> action)
An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(Action).- Parameters:
action- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
action(Action)
-
timeSeriesConditions
TimeSeriesTransformation.Builder timeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
- Parameters:
timeSeriesConditions- An array of conditions that define which members of the related time series are transformed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesConditions
TimeSeriesTransformation.Builder timeSeriesConditions(TimeSeriesCondition... timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
- Parameters:
timeSeriesConditions- An array of conditions that define which members of the related time series are transformed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesConditions
TimeSeriesTransformation.Builder timeSeriesConditions(Consumer<TimeSeriesCondition.Builder>... timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
This is a convenience method that creates an instance of theTimeSeriesCondition.Builderavoiding the need to create one manually viaTimeSeriesCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#timeSeriesConditions(List.) - Parameters:
timeSeriesConditions- a consumer that will call methods onTimeSeriesCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#timeSeriesConditions(java.util.Collection)
-
-