public static interface GetRuleResponse.Builder extends WAFResponse.Builder, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetRuleResponse.Builder |
rule(Consumer<Rule.Builder> rule)
Information about the Rule that you specified in the
GetRule request. |
GetRuleResponse.Builder |
rule(Rule rule)
Information about the Rule that you specified in the
GetRule request. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetRuleResponse.Builder rule(Rule rule)
Information about the Rule that you specified in the GetRule request. For more
information, see the following topics:
rule - Information about the Rule that you specified in the GetRule request. For more
information, see the following topics:
default GetRuleResponse.Builder rule(Consumer<Rule.Builder> rule)
Information about the Rule that you specified in the GetRule request. For more
information, see the following topics:
Rule: Contains MetricName, Name, an array of Predicate objects,
and RuleId
Predicate: Each Predicate object contains DataId, Negated, and
Type
Rule.Builder avoiding the need to create one
manually via Rule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to rule(Rule).rule - a consumer that will call methods on Rule.Builderrule(Rule)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.