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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetRateBasedRuleResponse.Builderrule(Consumer<RateBasedRule.Builder> rule)Information about the RateBasedRule that you specified in theGetRateBasedRulerequest.GetRateBasedRuleResponse.Builderrule(RateBasedRule rule)Information about the RateBasedRule that you specified in theGetRateBasedRulerequest.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
rule
GetRateBasedRuleResponse.Builder rule(RateBasedRule 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
default GetRateBasedRuleResponse.Builder rule(Consumer<RateBasedRule.Builder> 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:
rule(RateBasedRule)
-
-