public static interface ListTargetsByRuleResponse.Builder extends CloudWatchEventsResponse.Builder, CopyableBuilder<ListTargetsByRuleResponse.Builder,ListTargetsByRuleResponse>
| Modifier and Type | Method and 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(Consumer<Target.Builder>... targets)
The targets assigned to the rule.
|
ListTargetsByRuleResponse.Builder |
targets(Target... targets)
The targets assigned to the rule.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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.
targets - The targets assigned to the rule.ListTargetsByRuleResponse.Builder targets(Consumer<Target.Builder>... targets)
The targets assigned 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) 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.