Interface DescribeProtectionGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProtectionGroupResponse.Builder,
,DescribeProtectionGroupResponse> SdkBuilder<DescribeProtectionGroupResponse.Builder,
,DescribeProtectionGroupResponse> SdkPojo
,SdkResponse.Builder
,ShieldResponse.Builder
- Enclosing class:
DescribeProtectionGroupResponse
public static interface DescribeProtectionGroupResponse.Builder
extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<DescribeProtectionGroupResponse.Builder,DescribeProtectionGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprotectionGroup
(Consumer<ProtectionGroup.Builder> protectionGroup) A grouping of protected resources that you and Shield Advanced can monitor as a collective.protectionGroup
(ProtectionGroup protectionGroup) A grouping of protected resources that you and Shield Advanced can monitor as a collective.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.shield.model.ShieldResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
protectionGroup
A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.
- Parameters:
protectionGroup
- A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectionGroup
default DescribeProtectionGroupResponse.Builder protectionGroup(Consumer<ProtectionGroup.Builder> protectionGroup) A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.
This is a convenience method that creates an instance of theProtectionGroup.Builder
avoiding the need to create one manually viaProtectionGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectionGroup(ProtectionGroup)
.- Parameters:
protectionGroup
- a consumer that will call methods onProtectionGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-