Interface ListAnomaliesForInsightRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAnomaliesForInsightRequest.Builder,ListAnomaliesForInsightRequest>,DevOpsGuruRequest.Builder,SdkBuilder<ListAnomaliesForInsightRequest.Builder,ListAnomaliesForInsightRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAnomaliesForInsightRequest
public static interface ListAnomaliesForInsightRequest.Builder extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<ListAnomaliesForInsightRequest.Builder,ListAnomaliesForInsightRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
build
-
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
-
insightId
ListAnomaliesForInsightRequest.Builder insightId(String insightId)
The ID of the insight. The returned anomalies belong to this insight.
- Parameters:
insightId- The ID of the insight. The returned anomalies belong to this insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeRange
ListAnomaliesForInsightRequest.Builder startTimeRange(StartTimeRange startTimeRange)
A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.
- Parameters:
startTimeRange- A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeRange
default ListAnomaliesForInsightRequest.Builder startTimeRange(Consumer<StartTimeRange.Builder> startTimeRange)
A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.
This is a convenience method that creates an instance of theStartTimeRange.Builderavoiding the need to create one manually viaStartTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTimeRange(StartTimeRange).- Parameters:
startTimeRange- a consumer that will call methods onStartTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
startTimeRange(StartTimeRange)
-
maxResults
ListAnomaliesForInsightRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAnomaliesForInsightRequest.Builder nextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
ListAnomaliesForInsightRequest.Builder accountId(String accountId)
The ID of the Amazon Web Services account.
- Parameters:
accountId- The ID of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListAnomaliesForInsightRequest.Builder filters(ListAnomaliesForInsightFilters filters)
Specifies one or more service names that are used to list anomalies.
- Parameters:
filters- Specifies one or more service names that are used to list anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListAnomaliesForInsightRequest.Builder filters(Consumer<ListAnomaliesForInsightFilters.Builder> filters)
Specifies one or more service names that are used to list anomalies.
This is a convenience method that creates an instance of theListAnomaliesForInsightFilters.Builderavoiding the need to create one manually viaListAnomaliesForInsightFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListAnomaliesForInsightFilters).- Parameters:
filters- a consumer that will call methods onListAnomaliesForInsightFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ListAnomaliesForInsightFilters)
-
overrideConfiguration
ListAnomaliesForInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAnomaliesForInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-