Interface GetRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRuleResponse.Builder,
,GetRuleResponse> SdkBuilder<GetRuleResponse.Builder,
,GetRuleResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
GetRuleResponse
public static interface GetRuleResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRuleResponse.Builder
rule
(Consumer<Rule.Builder> rule) Information about the Rule that you specified in theGetRule
request.Information about the Rule that you specified in theGetRule
request.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 Details
-
rule
Information about the Rule that you specified in the
GetRule
request. For more information, see the following topics:- Parameters:
rule
- Information about the Rule that you specified in theGetRule
request. For more information, see the following topics:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ofPredicate
objects, andRuleId
-
Predicate: Each
Predicate
object containsDataId
,Negated
, andType
Rule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torule(Rule)
.- Parameters:
rule
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-