Interface ListRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchEventsRequest.Builder,CopyableBuilder<ListRulesRequest.Builder,,ListRulesRequest> SdkBuilder<ListRulesRequest.Builder,,ListRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRulesRequest
@Mutable
@NotThreadSafe
public static interface ListRulesRequest.Builder
extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<ListRulesRequest.Builder,ListRulesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventBusName(String eventBusName) The name or ARN of the event bus to list the rules for.The maximum number of results to return.namePrefix(String namePrefix) The prefix matching the rule name.The token returned by a previous call to retrieve the next set of 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
namePrefix
The prefix matching the rule name.
- Parameters:
namePrefix- The prefix matching the rule name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.
- Parameters:
eventBusName- The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token returned by a previous call to retrieve the next set of results.
- Parameters:
nextToken- The token returned by a previous call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of results to return.
- Parameters:
limit- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListRulesRequest.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
ListRulesRequest.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.
-