Interface ListRuleNamesByTargetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRuleNamesByTargetRequest.Builder,ListRuleNamesByTargetRequest>,EventBridgeRequest.Builder,SdkBuilder<ListRuleNamesByTargetRequest.Builder,ListRuleNamesByTargetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListRuleNamesByTargetRequest
public static interface ListRuleNamesByTargetRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<ListRuleNamesByTargetRequest.Builder,ListRuleNamesByTargetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRuleNamesByTargetRequest.BuildereventBusName(String eventBusName)The name or ARN of the event bus to list rules for.ListRuleNamesByTargetRequest.Builderlimit(Integer limit)The maximum number of results to return.ListRuleNamesByTargetRequest.BuildernextToken(String nextToken)The token returned by a previous call, which you can use to retrieve the next set of results.ListRuleNamesByTargetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListRuleNamesByTargetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListRuleNamesByTargetRequest.BuildertargetArn(String targetArn)The Amazon Resource Name (ARN) of the target resource.-
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.eventbridge.model.EventBridgeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
targetArn
ListRuleNamesByTargetRequest.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) of the target resource.
- Parameters:
targetArn- The Amazon Resource Name (ARN) of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
ListRuleNamesByTargetRequest.Builder eventBusName(String eventBusName)
The name or ARN of the event bus to list rules for. If you omit this, the default event bus is used.
- Parameters:
eventBusName- The name or ARN of the event bus to list 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
ListRuleNamesByTargetRequest.Builder nextToken(String 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
ListRuleNamesByTargetRequest.Builder limit(Integer 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
ListRuleNamesByTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListRuleNamesByTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-