Interface GetRateBasedRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRateBasedRuleResponse.Builder,,GetRateBasedRuleResponse> SdkBuilder<GetRateBasedRuleResponse.Builder,,GetRateBasedRuleResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
GetRateBasedRuleResponse
public static interface GetRateBasedRuleResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetRateBasedRuleResponse.Builder,GetRateBasedRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRateBasedRuleResponse.Builderrule(Consumer<RateBasedRule.Builder> rule) Information about the RateBasedRule that you specified in theGetRateBasedRulerequest.rule(RateBasedRule rule) Information about the RateBasedRule that you specified in theGetRateBasedRulerequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
rule
Information about the RateBasedRule that you specified in the
GetRateBasedRulerequest.- Parameters:
rule- Information about the RateBasedRule that you specified in theGetRateBasedRulerequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
Information about the RateBasedRule that you specified in the
This is a convenience method that creates an instance of theGetRateBasedRulerequest.RateBasedRule.Builderavoiding the need to create one manually viaRateBasedRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(RateBasedRule).- Parameters:
rule- a consumer that will call methods onRateBasedRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-