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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeProtectionGroupResponse.BuilderprotectionGroup(Consumer<ProtectionGroup.Builder> protectionGroup)A grouping of protected resources that you and Shield Advanced can monitor as a collective.DescribeProtectionGroupResponse.BuilderprotectionGroup(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, sdkFieldNameToField, 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 Detail
-
protectionGroup
DescribeProtectionGroupResponse.Builder protectionGroup(ProtectionGroup 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.Builderavoiding the need to create one manually viaProtectionGroup.builder().When the
Consumercompletes,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:
protectionGroup(ProtectionGroup)
-
-