public static interface CreateRateBasedRuleResponse.Builder extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateRateBasedRuleResponse.Builder,CreateRateBasedRuleResponse>
Modifier and Type | Method and Description |
---|---|
CreateRateBasedRuleResponse.Builder |
changeToken(String changeToken)
The
ChangeToken that you used to submit the CreateRateBasedRule request. |
default CreateRateBasedRuleResponse.Builder |
rule(Consumer<RateBasedRule.Builder> rule)
The RateBasedRule that is returned in the
CreateRateBasedRule response. |
CreateRateBasedRuleResponse.Builder |
rule(RateBasedRule rule)
The RateBasedRule that is returned in the
CreateRateBasedRule response. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateRateBasedRuleResponse.Builder rule(RateBasedRule rule)
The RateBasedRule that is returned in the CreateRateBasedRule
response.
rule
- The RateBasedRule that is returned in the CreateRateBasedRule
response.default CreateRateBasedRuleResponse.Builder rule(Consumer<RateBasedRule.Builder> rule)
The RateBasedRule that is returned in the CreateRateBasedRule
response.
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)
CreateRateBasedRuleResponse.Builder changeToken(String changeToken)
The ChangeToken
that you used to submit the CreateRateBasedRule
request. You can
also use this value to query the status of the request. For more information, see
GetChangeTokenStatus.
changeToken
- The ChangeToken
that you used to submit the CreateRateBasedRule
request. You
can also use this value to query the status of the request. For more information, see
GetChangeTokenStatus.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.