Interface ModifyRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyRuleResponse.Builder,,ModifyRuleResponse> ElasticLoadBalancingV2Response.Builder,SdkBuilder<ModifyRuleResponse.Builder,,ModifyRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyRuleResponse
public static interface ModifyRuleResponse.Builder
extends ElasticLoadBalancingV2Response.Builder, SdkPojo, CopyableBuilder<ModifyRuleResponse.Builder,ModifyRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrules(Collection<Rule> rules) Information about the modified rule.rules(Consumer<Rule.Builder>... rules) Information about the modified rule.Information about the modified rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancingv2.model.ElasticLoadBalancingV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
rules
Information about the modified rule.
- Parameters:
rules- Information about the modified rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the modified rule.
- Parameters:
rules- Information about the modified rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Information about the modified rule.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,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:
-