Interface ListNotificationRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodestarNotificationsRequest.Builder
,CopyableBuilder<ListNotificationRulesRequest.Builder,
,ListNotificationRulesRequest> SdkBuilder<ListNotificationRulesRequest.Builder,
,ListNotificationRulesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListNotificationRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<ListNotificationRulesFilter> filters) The filters to use to return information by service or resource type.filters
(Consumer<ListNotificationRulesFilter.Builder>... filters) The filters to use to return information by service or resource type.filters
(ListNotificationRulesFilter... filters) The filters to use to return information by service or resource type.maxResults
(Integer maxResults) A non-negative integer used to limit the number of returned results.An enumeration token that, when provided in a request, returns the next batch of the results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
filters
The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Parameters:
filters
- The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Parameters:
filters
- The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListNotificationRulesRequest.Builder filters(Consumer<ListNotificationRulesFilter.Builder>... filters) The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
ListNotificationRulesFilter.Builder
avoiding the need to create one manually viaListNotificationRulesFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<ListNotificationRulesFilter>)
.- Parameters:
filters
- a consumer that will call methods onListNotificationRulesFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that, when provided in a request, returns the next batch of the results.
- Parameters:
nextToken
- An enumeration token that, when provided in a request, returns the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
- Parameters:
maxResults
- A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListNotificationRulesRequest.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
ListNotificationRulesRequest.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.
-