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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetRuleResponse.Builderrule(Consumer<Rule.Builder> rule)Information about the Rule that you specified in theGetRulerequest.GetRuleResponse.Builderrule(Rule rule)Information about the Rule that you specified in theGetRulerequest.-
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 Detail
-
rule
GetRuleResponse.Builder rule(Rule rule)
Information about the Rule that you specified in the
GetRulerequest. For more information, see the following topics:- Parameters:
rule- Information about the Rule that you specified in theGetRulerequest. For more information, see the following topics:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
default GetRuleResponse.Builder rule(Consumer<Rule.Builder> rule)
Information about the Rule that you specified in the
GetRulerequest. For more information, see the following topics:-
Rule: Contains
MetricName,Name, an array ofPredicateobjects, andRuleId -
Predicate: Each
Predicateobject containsDataId,Negated, andType
Rule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,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:
rule(Rule)
-
-
-