public static interface PutTargetsRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<PutTargetsRequest.Builder,PutTargetsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutTargetsRequest.Builder |
eventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule.
|
PutTargetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutTargetsRequest.Builder |
rule(String rule)
The name of the rule.
|
PutTargetsRequest.Builder |
targets(Collection<Target> targets)
The targets to update or add to the rule.
|
PutTargetsRequest.Builder |
targets(Consumer<Target.Builder>... targets)
The targets to update or add to the rule.
|
PutTargetsRequest.Builder |
targets(Target... targets)
The targets to update or add to the rule.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutTargetsRequest.Builder rule(String rule)
The name of the rule.
rule - The name of the rule.PutTargetsRequest.Builder eventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName - The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is
used.PutTargetsRequest.Builder targets(Collection<Target> targets)
The targets to update or add to the rule.
targets - The targets to update or add to the rule.PutTargetsRequest.Builder targets(Target... targets)
The targets to update or add to the rule.
targets - The targets to update or add to the rule.PutTargetsRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets to update or add to the rule.
This is a convenience method that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #targets(List) .targets - a consumer that will call methods on List.Builder #targets(List) PutTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.