public static interface DescribeProtectionResponse.Builder extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<DescribeProtectionResponse.Builder,DescribeProtectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeProtectionResponse.Builder |
protection(Consumer<Protection.Builder> protection)
The Protection that you requested.
|
DescribeProtectionResponse.Builder |
protection(Protection protection)
The Protection that you requested.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeProtectionResponse.Builder protection(Protection protection)
The Protection that you requested.
protection - The Protection that you requested.default DescribeProtectionResponse.Builder protection(Consumer<Protection.Builder> protection)
The Protection that you requested.
This is a convenience method 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 © 2023. All rights reserved.