Interface GetRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRuleResponse.Builder,,GetRuleResponse> SdkBuilder<GetRuleResponse.Builder,,GetRuleResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
GetRuleResponse
@Mutable
@NotThreadSafe
public static interface GetRuleResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRuleResponse.Builderrule(Consumer<Rule.Builder> rule) Information about the Rule that you specified in theGetRulerequest.Information about the Rule that you specified in theGetRulerequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
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
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:
-
-