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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListInsightsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return with a single call.ListInsightsRequest.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.ListInsightsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListInsightsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListInsightsRequest.BuilderstatusFilter(Consumer<ListInsightsStatusFilter.Builder> statusFilter)A filter used to filter the returned insights by their status.ListInsightsRequest.BuilderstatusFilter(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 Detail
-
statusFilter
ListInsightsRequest.Builder statusFilter(ListInsightsStatusFilter 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:
statusFilter(ListInsightsStatusFilter)
-
maxResults
ListInsightsRequest.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
ListInsightsRequest.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.
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-