Interface SearchInsightsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchInsightsRequest.Builder,SearchInsightsRequest>,DevOpsGuruRequest.Builder,SdkBuilder<SearchInsightsRequest.Builder,SearchInsightsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchInsightsRequest
public static interface SearchInsightsRequest.Builder extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<SearchInsightsRequest.Builder,SearchInsightsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SearchInsightsRequest.Builderfilters(Consumer<SearchInsightsFilters.Builder> filters)ASearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.SearchInsightsRequest.Builderfilters(SearchInsightsFilters filters)ASearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.SearchInsightsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return with a single call.SearchInsightsRequest.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.SearchInsightsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchInsightsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default SearchInsightsRequest.BuilderstartTimeRange(Consumer<StartTimeRange.Builder> startTimeRange)The start of the time range passed in.SearchInsightsRequest.BuilderstartTimeRange(StartTimeRange startTimeRange)The start of the time range passed in.SearchInsightsRequest.Buildertype(String type)The type of insights you are searching for (REACTIVEorPROACTIVE).SearchInsightsRequest.Buildertype(InsightType type)The type of insights you are searching for (REACTIVEorPROACTIVE).-
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
-
startTimeRange
SearchInsightsRequest.Builder startTimeRange(StartTimeRange 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:
startTimeRange(StartTimeRange)
-
filters
SearchInsightsRequest.Builder filters(SearchInsightsFilters 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
default SearchInsightsRequest.Builder filters(Consumer<SearchInsightsFilters.Builder> 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:
filters(SearchInsightsFilters)
-
maxResults
SearchInsightsRequest.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
SearchInsightsRequest.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.
-
type
SearchInsightsRequest.Builder type(String 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:
InsightType,InsightType
-
type
SearchInsightsRequest.Builder type(InsightType 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:
InsightType,InsightType
-
overrideConfiguration
SearchInsightsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchInsightsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-