public static interface DescribeSubscriptionResponse.Builder extends ShieldResponse.Builder, CopyableBuilder<DescribeSubscriptionResponse.Builder,DescribeSubscriptionResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeSubscriptionResponse.Builder |
subscription(Consumer<Subscription.Builder> subscription)
The AWS Shield Advanced subscription details for an account.
|
DescribeSubscriptionResponse.Builder |
subscription(Subscription subscription)
The AWS Shield Advanced subscription details for an account.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeSubscriptionResponse.Builder subscription(Subscription subscription)
The AWS Shield Advanced subscription details for an account.
subscription - The AWS Shield Advanced subscription details for an account.default DescribeSubscriptionResponse.Builder subscription(Consumer<Subscription.Builder> subscription)
The AWS Shield Advanced subscription details for an account.
This is a convenience that creates an instance of theSubscription.Builder avoiding the need to
create one manually via Subscription.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subscription(Subscription).subscription - a consumer that will call methods on Subscription.Buildersubscription(Subscription)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.