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.ASearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search.filters(SearchOrganizationInsightsFilters filters) ASearchOrganizationInsightsFiltersobject 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 (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
-
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.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
SearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search.- Parameters:
filters- ASearchOrganizationInsightsFiltersobject 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 theSearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search.SearchOrganizationInsightsFilters.Builderavoiding the need to create one manually viaSearchOrganizationInsightsFilters.builder().When the
Consumercompletes,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
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
SearchOrganizationInsightsRequest.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
SearchOrganizationInsightsRequest.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.
-