Interface SetRulePrioritiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SetRulePrioritiesResponse.Builder,
,SetRulePrioritiesResponse> ElasticLoadBalancingV2Response.Builder
,SdkBuilder<SetRulePrioritiesResponse.Builder,
,SetRulePrioritiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SetRulePrioritiesResponse
public static interface SetRulePrioritiesResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<SetRulePrioritiesResponse.Builder,SetRulePrioritiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrules
(Collection<Rule> rules) Information about the rules.rules
(Consumer<Rule.Builder>... rules) Information about the rules.Information about the rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
rules
Information about the rules.
- Parameters:
rules
- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the rules.
- Parameters:
rules
- Information about the rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the rules.
This is a convenience method that creates an instance of theRule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<Rule>)
.- Parameters:
rules
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-