Interface ListAnomalyGroupTimeSeriesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAnomalyGroupTimeSeriesResponse.Builder,ListAnomalyGroupTimeSeriesResponse>,LookoutMetricsResponse.Builder,SdkBuilder<ListAnomalyGroupTimeSeriesResponse.Builder,ListAnomalyGroupTimeSeriesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAnomalyGroupTimeSeriesResponse
public static interface ListAnomalyGroupTimeSeriesResponse.Builder extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<ListAnomalyGroupTimeSeriesResponse.Builder,ListAnomalyGroupTimeSeriesResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
anomalyGroupId
ListAnomalyGroupTimeSeriesResponse.Builder anomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
- Parameters:
anomalyGroupId- The ID of the anomaly group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
ListAnomalyGroupTimeSeriesResponse.Builder metricName(String metricName)
The name of the measure field.
- Parameters:
metricName- The name of the measure field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampList
ListAnomalyGroupTimeSeriesResponse.Builder timestampList(Collection<String> timestampList)
Timestamps for the anomalous metrics.
- Parameters:
timestampList- Timestamps for the anomalous metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampList
ListAnomalyGroupTimeSeriesResponse.Builder timestampList(String... timestampList)
Timestamps for the anomalous metrics.
- Parameters:
timestampList- Timestamps for the anomalous metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAnomalyGroupTimeSeriesResponse.Builder nextToken(String nextToken)
The pagination token that's included if more results are available.
- Parameters:
nextToken- The pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesList
ListAnomalyGroupTimeSeriesResponse.Builder timeSeriesList(Collection<TimeSeries> timeSeriesList)
A list of anomalous metrics.
- Parameters:
timeSeriesList- A list of anomalous metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesList
ListAnomalyGroupTimeSeriesResponse.Builder timeSeriesList(TimeSeries... timeSeriesList)
A list of anomalous metrics.
- Parameters:
timeSeriesList- A list of anomalous metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesList
ListAnomalyGroupTimeSeriesResponse.Builder timeSeriesList(Consumer<TimeSeries.Builder>... timeSeriesList)
A list of anomalous metrics.
This is a convenience method that creates an instance of theTimeSeries.Builderavoiding the need to create one manually viaTimeSeries.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#timeSeriesList(List.) - Parameters:
timeSeriesList- a consumer that will call methods onTimeSeries.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#timeSeriesList(java.util.Collection)
-
-