Interface ListInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInsightsRequest.Builder,,ListInsightsRequest> DevOpsGuruRequest.Builder,SdkBuilder<ListInsightsRequest.Builder,,ListInsightsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListInsightsRequest
@Mutable
@NotThreadSafe
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.BuilderstatusFilter(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaListInsightsStatusFilter.builder().When the
Consumercompletes,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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-