Interface SearchOrganizationInsightsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SearchOrganizationInsightsRequest.Builder,
,SearchOrganizationInsightsRequest> DevOpsGuruRequest.Builder
,SdkBuilder<SearchOrganizationInsightsRequest.Builder,
,SearchOrganizationInsightsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchOrganizationInsightsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) The ID of the Amazon Web Services account.accountIds
(Collection<String> accountIds) The ID of the Amazon Web Services account.ASearchOrganizationInsightsFilters
object that is used to set the severity and status filters on your insight search.filters
(SearchOrganizationInsightsFilters filters) ASearchOrganizationInsightsFilters
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.startTimeRange
(Consumer<StartTimeRange.Builder> startTimeRange) Sets the value of the StartTimeRange property for this object.startTimeRange
(StartTimeRange startTimeRange) Sets the value of the StartTimeRange property for this object.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, sdkFields
-
Method Details
-
accountIds
The ID of the Amazon Web Services account.
- Parameters:
accountIds
- The ID of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
The ID of the Amazon Web Services account.
- Parameters:
accountIds
- The ID of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeRange
Sets the value of the StartTimeRange property for this object.- Parameters:
startTimeRange
- The new value for the StartTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeRange
default SearchOrganizationInsightsRequest.Builder startTimeRange(Consumer<StartTimeRange.Builder> startTimeRange) Sets the value of the StartTimeRange property for this object. 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
SearchOrganizationInsightsFilters
object that is used to set the severity and status filters on your insight search.- Parameters:
filters
- ASearchOrganizationInsightsFilters
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
default SearchOrganizationInsightsRequest.Builder filters(Consumer<SearchOrganizationInsightsFilters.Builder> filters) A
This is a convenience method that creates an instance of theSearchOrganizationInsightsFilters
object that is used to set the severity and status filters on your insight search.SearchOrganizationInsightsFilters.Builder
avoiding the need to create one manually viaSearchOrganizationInsightsFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(SearchOrganizationInsightsFilters)
.- Parameters:
filters
- a consumer that will call methods onSearchOrganizationInsightsFilters.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
SearchOrganizationInsightsRequest.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
SearchOrganizationInsightsRequest.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.
-