Interface ListTargetsByRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTargetsByRuleRequest.Builder,,ListTargetsByRuleRequest> EventBridgeRequest.Builder,SdkBuilder<ListTargetsByRuleRequest.Builder,,ListTargetsByRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListTargetsByRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptioneventBusName(String eventBusName) The name or ARN of the event bus associated with the rule.The maximum number of results to return.The token returned by a previous call, which you can use 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.The name of the rule.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.eventbridge.model.EventBridgeRequest.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
-
rule
The name of the rule.
- Parameters:
rule- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
- Parameters:
eventBusName- The name or ARN of the event bus associated with the rule. 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, which you can use to retrieve the next set of results.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Parameters:
nextToken- The token returned by a previous call, which you can use to retrieve the next set of results.The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- 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
ListTargetsByRuleRequest.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
ListTargetsByRuleRequest.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.
-