public static interface DescribeProtectionResponse.Builder extends ShieldResponse.Builder, CopyableBuilder<DescribeProtectionResponse.Builder,DescribeProtectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeProtectionResponse.Builder |
protection(Consumer<Protection.Builder> protection)
The Protection object that is described.
|
DescribeProtectionResponse.Builder |
protection(Protection protection)
The Protection object that is described.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeProtectionResponse.Builder protection(Protection protection)
The Protection object that is described.
protection - The Protection object that is described.default DescribeProtectionResponse.Builder protection(Consumer<Protection.Builder> protection)
The Protection object that is described.
This is a convenience that creates an instance of theProtection.Builder avoiding the need to create
one manually via Protection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to protection(Protection).protection - a consumer that will call methods on Protection.Builderprotection(Protection)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.