Interface CreateRuleGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRuleGroupResponse.Builder,
,CreateRuleGroupResponse> SdkBuilder<CreateRuleGroupResponse.Builder,
,CreateRuleGroupResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
CreateRuleGroupResponse
public static interface CreateRuleGroupResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<CreateRuleGroupResponse.Builder,CreateRuleGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateRuleGroupResponse.Builder
summary
(Consumer<RuleGroupSummary.Builder> summary) High-level information about a RuleGroup, returned by operations like create and list.summary
(RuleGroupSummary summary) High-level information about a RuleGroup, returned by operations like create and list.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.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
summary
High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a
RuleGroup
, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.- Parameters:
summary
- High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage aRuleGroup
, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
High-level information about a RuleGroup, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a
This is a convenience method that creates an instance of theRuleGroup
, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.RuleGroupSummary.Builder
avoiding the need to create one manually viaRuleGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(RuleGroupSummary)
.- Parameters:
summary
- a consumer that will call methods onRuleGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-