CopyableBuilder<ListTargetsByRuleResponse.Builder,ListTargetsByRuleResponse>, SdkBuilder<ListTargetsByRuleResponse.Builder,ListTargetsByRuleResponse>public static interface ListTargetsByRuleResponse.Builder extends CopyableBuilder<ListTargetsByRuleResponse.Builder,ListTargetsByRuleResponse>
| Modifier and Type | Method | Description |
|---|---|---|
ListTargetsByRuleResponse.Builder |
nextToken(String nextToken) |
Indicates whether there are additional results to retrieve.
|
ListTargetsByRuleResponse.Builder |
targets(Collection<Target> targets) |
The targets assigned to the rule.
|
ListTargetsByRuleResponse.Builder |
targets(Target... targets) |
The targets assigned to the rule.
|
copyapply, buildListTargetsByRuleResponse.Builder targets(Collection<Target> targets)
The targets assigned to the rule.
targets - The targets assigned to the rule.ListTargetsByRuleResponse.Builder targets(Target... targets)
The targets assigned 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 assigned to the rule.ListTargetsByRuleResponse.Builder nextToken(String nextToken)
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
nextToken - Indicates whether there are additional results to retrieve. If there are no more results, the value is
null.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.