public static interface GetRateBasedRuleResponse.Builder extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetRateBasedRuleResponse.Builder,GetRateBasedRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetRateBasedRuleResponse.Builder |
rule(Consumer<RateBasedRule.Builder> rule)
Information about the RateBasedRule that you specified in the
GetRateBasedRule request. |
GetRateBasedRuleResponse.Builder |
rule(RateBasedRule rule)
Information about the RateBasedRule that you specified in the
GetRateBasedRule request. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRateBasedRuleResponse.Builder rule(RateBasedRule rule)
Information about the RateBasedRule that you specified in the GetRateBasedRule request.
rule - Information about the RateBasedRule that you specified in the GetRateBasedRule
request.default GetRateBasedRuleResponse.Builder rule(Consumer<RateBasedRule.Builder> rule)
Information about the RateBasedRule that you specified in the GetRateBasedRule request.
RateBasedRule.Builder avoiding the need
to create one manually via RateBasedRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to rule(RateBasedRule).
rule - a consumer that will call methods on RateBasedRule.Builderrule(RateBasedRule)Copyright © 2023. All rights reserved.