CopyableBuilder<PutTargetsRequest.Builder,PutTargetsRequest>
, SdkBuilder<PutTargetsRequest.Builder,PutTargetsRequest>
public static interface PutTargetsRequest.Builder extends CopyableBuilder<PutTargetsRequest.Builder,PutTargetsRequest>
Modifier and Type | Method | Description |
---|---|---|
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(Target... targets) |
The targets to update or add to the rule.
|
copy
apply, build
PutTargetsRequest.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.
NOTE: This method appends the values to the existing list (if any). Use
#setTargets(java.util.Collection)
or #withTargets(java.util.Collection)
if you want to
override the existing values.
targets
- The targets to update or add to the rule.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.