Interface TimeSeriesTransformation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimeSeriesTransformation.Builder,
,TimeSeriesTransformation> SdkBuilder<TimeSeriesTransformation.Builder,
,TimeSeriesTransformation> SdkPojo
- Enclosing class:
TimeSeriesTransformation
-
Method Summary
Modifier and TypeMethodDescriptiondefault TimeSeriesTransformation.Builder
action
(Consumer<Action.Builder> action) An array of actions that define a time series and how it is transformed.An array of actions that define a time series and how it is transformed.timeSeriesConditions
(Collection<TimeSeriesCondition> timeSeriesConditions) An array of conditions that define which members of the related time series are transformed.timeSeriesConditions
(Consumer<TimeSeriesCondition.Builder>... timeSeriesConditions) An array of conditions that define which members of the related time series are transformed.timeSeriesConditions
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaTimeSeriesCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeSeriesConditions(List<TimeSeriesCondition>)
.- 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:
-