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.Builder
filters
(Consumer<SearchInsightsFilters.Builder> filters) ASearchInsightsFilters
object that is used to set the severity and status filters on your insight search.filters
(SearchInsightsFilters filters) ASearchInsightsFilters
object 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.Builder
startTimeRange
(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 (REACTIVE
orPROACTIVE
).type
(InsightType type) The type of insights you are searching for (REACTIVE
orPROACTIVE
).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, 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.Builder
avoiding the need to create one manually viaStartTimeRange.builder()
.When the
Consumer
completes,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
SearchInsightsFilters
object that is used to set the severity and status filters on your insight search.- Parameters:
filters
- ASearchInsightsFilters
object 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 theSearchInsightsFilters
object that is used to set the severity and status filters on your insight search.SearchInsightsFilters.Builder
avoiding the need to create one manually viaSearchInsightsFilters.builder()
.When the
Consumer
completes,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
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.
-
type
The type of insights you are searching for (
REACTIVE
orPROACTIVE
).- Parameters:
type
- The type of insights you are searching for (REACTIVE
orPROACTIVE
).- 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 (
REACTIVE
orPROACTIVE
).- Parameters:
type
- The type of insights you are searching for (REACTIVE
orPROACTIVE
).- 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.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
SearchInsightsRequest.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.
-