public static interface CreateRuleResponse.Builder extends ElasticLoadBalancingV2Response.Builder, CopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
Modifier and Type | Method and Description |
---|---|
CreateRuleResponse.Builder |
rules(Collection<Rule> rules)
Information about the rule.
|
CreateRuleResponse.Builder |
rules(Consumer<Rule.Builder>... rules)
Information about the rule.
|
CreateRuleResponse.Builder |
rules(Rule... rules)
Information about the rule.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateRuleResponse.Builder rules(Collection<Rule> rules)
Information about the rule.
rules
- Information about the rule.CreateRuleResponse.Builder rules(Rule... rules)
Information about the rule.
rules
- Information about the rule.CreateRuleResponse.Builder rules(Consumer<Rule.Builder>... rules)
Information about 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 #rules(List)
.rules
- a consumer that will call methods on List.Builder
#rules(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.