Interface GetFeedbackResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFeedbackResponse.Builder,,GetFeedbackResponse> LookoutMetricsResponse.Builder,SdkBuilder<GetFeedbackResponse.Builder,,GetFeedbackResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFeedbackResponse
public static interface GetFeedbackResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<GetFeedbackResponse.Builder,GetFeedbackResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyGroupTimeSeriesFeedback(Collection<TimeSeriesFeedback> anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.anomalyGroupTimeSeriesFeedback(Consumer<TimeSeriesFeedback.Builder>... anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.anomalyGroupTimeSeriesFeedback(TimeSeriesFeedback... anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.The pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
anomalyGroupTimeSeriesFeedback
GetFeedbackResponse.Builder anomalyGroupTimeSeriesFeedback(Collection<TimeSeriesFeedback> anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.
- Parameters:
anomalyGroupTimeSeriesFeedback- Feedback for an anomalous metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyGroupTimeSeriesFeedback
GetFeedbackResponse.Builder anomalyGroupTimeSeriesFeedback(TimeSeriesFeedback... anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.
- Parameters:
anomalyGroupTimeSeriesFeedback- Feedback for an anomalous metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyGroupTimeSeriesFeedback
GetFeedbackResponse.Builder anomalyGroupTimeSeriesFeedback(Consumer<TimeSeriesFeedback.Builder>... anomalyGroupTimeSeriesFeedback) Feedback for an anomalous metric.
This is a convenience method that creates an instance of theTimeSeriesFeedback.Builderavoiding the need to create one manually viaTimeSeriesFeedback.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalyGroupTimeSeriesFeedback(List<TimeSeriesFeedback>).- Parameters:
anomalyGroupTimeSeriesFeedback- a consumer that will call methods onTimeSeriesFeedback.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-