Interface ListInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInsightsRequest.Builder,
,ListInsightsRequest> DevOpsGuruRequest.Builder
,SdkBuilder<ListInsightsRequest.Builder,
,ListInsightsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListInsightsRequest
public static interface ListInsightsRequest.Builder
extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<ListInsightsRequest.Builder,ListInsightsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to return with a single call.The pagination token to use to retrieve the next page of results for this operation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListInsightsRequest.Builder
statusFilter
(Consumer<ListInsightsStatusFilter.Builder> statusFilter) A filter used to filter the returned insights by their status.statusFilter
(ListInsightsStatusFilter statusFilter) A filter used to filter the returned insights by their status.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 Details
-
statusFilter
A filter used to filter the returned insights by their status. You can specify one status filter.
- Parameters:
statusFilter
- A filter used to filter the returned insights by their status. You can specify one status filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusFilter
default ListInsightsRequest.Builder statusFilter(Consumer<ListInsightsStatusFilter.Builder> statusFilter) A filter used to filter the returned insights by their status. You can specify one status filter.
This is a convenience method that creates an instance of theListInsightsStatusFilter.Builder
avoiding the need to create one manually viaListInsightsStatusFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusFilter(ListInsightsStatusFilter)
.- Parameters:
statusFilter
- a consumer that will call methods onListInsightsStatusFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.- Parameters:
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-