public static interface PutTargetsRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<PutTargetsRequest.Builder,PutTargetsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutTargetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildoverrideConfigurationcopyapplyMutation, buildPutTargetsRequest.Builder rule(String rule)
The name of the rule.
rule - The name of the rule.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 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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PutTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.