public static interface GetRateBasedRuleResponse.Builder extends WAFResponse.Builder, 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
copy
apply, build
GetRateBasedRuleResponse.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.Builder
rule(RateBasedRule)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.