Interface SearchInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchInsightsRequest.Builder,,SearchInsightsRequest> DevOpsGuruRequest.Builder,SdkBuilder<SearchInsightsRequest.Builder,,SearchInsightsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchInsightsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchInsightsRequest.Builderfilters(Consumer<SearchInsightsFilters.Builder> filters) ASearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.filters(SearchInsightsFilters filters) ASearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.maxResults(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 SearchInsightsRequest.BuilderstartTimeRange(Consumer<StartTimeRange.Builder> startTimeRange) The start of the time range passed in.startTimeRange(StartTimeRange startTimeRange) The start of the time range passed in.The type of insights you are searching for (REACTIVEorPROACTIVE).type(InsightType type) The type of insights you are searching for (REACTIVEorPROACTIVE).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
-
startTimeRange
The start of the time range passed in. Returned insights occurred after this time.
- Parameters:
startTimeRange- The start of the time range passed in. Returned insights occurred after this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeRange
default SearchInsightsRequest.Builder startTimeRange(Consumer<StartTimeRange.Builder> startTimeRange) The start of the time range passed in. Returned insights occurred after this time.
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:
-
filters
A
SearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.- Parameters:
filters- ASearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A
This is a convenience method that creates an instance of theSearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.SearchInsightsFilters.Builderavoiding the need to create one manually viaSearchInsightsFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(SearchInsightsFilters).- Parameters:
filters- a consumer that will call methods onSearchInsightsFilters.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.
-
type
The type of insights you are searching for (
REACTIVEorPROACTIVE).- Parameters:
type- The type of insights you are searching for (REACTIVEorPROACTIVE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of insights you are searching for (
REACTIVEorPROACTIVE).- Parameters:
type- The type of insights you are searching for (REACTIVEorPROACTIVE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchInsightsRequest.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
SearchInsightsRequest.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.
-