public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
| Modifier and Type | Method and Description |
|---|---|
Subscription.Builder |
autoRenew(AutoRenew autoRenew)
If
ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period. |
Subscription.Builder |
autoRenew(String autoRenew)
If
ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period. |
Subscription.Builder |
endTime(Instant endTime)
The date and time your subscription will end.
|
Subscription.Builder |
limits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
|
Subscription.Builder |
limits(Consumer<Limit.Builder>... limits)
Specifies how many protections of a given type you can create.
|
Subscription.Builder |
limits(Limit... limits)
Specifies how many protections of a given type you can create.
|
Subscription.Builder |
startTime(Instant startTime)
The start time of the subscription, in Unix time in seconds.
|
Subscription.Builder |
timeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
copyapplyMutation, buildSubscription.Builder startTime(Instant startTime)
The start time of the subscription, in Unix time in seconds. For more information see timestamp.
startTime - The start time of the subscription, in Unix time in seconds. For more information see timestamp.Subscription.Builder endTime(Instant endTime)
The date and time your subscription will end.
endTime - The date and time your subscription will end.Subscription.Builder timeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
timeCommitmentInSeconds - The length, in seconds, of the AWS Shield Advanced subscription for the account.Subscription.Builder autoRenew(String autoRenew)
If ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew is set to ENABLED. You can
change this by submitting an UpdateSubscription request. If the UpdateSubscription
request does not included a value for AutoRenew, the existing value for AutoRenew
remains unchanged.
autoRenew - If ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew is set to ENABLED. You
can change this by submitting an UpdateSubscription request. If the
UpdateSubscription request does not included a value for AutoRenew, the
existing value for AutoRenew remains unchanged.
AutoRenew,
AutoRenewSubscription.Builder autoRenew(AutoRenew autoRenew)
If ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew is set to ENABLED. You can
change this by submitting an UpdateSubscription request. If the UpdateSubscription
request does not included a value for AutoRenew, the existing value for AutoRenew
remains unchanged.
autoRenew - If ENABLED, the subscription will be automatically renewed at the end of the existing
subscription period.
When you initally create a subscription, AutoRenew is set to ENABLED. You
can change this by submitting an UpdateSubscription request. If the
UpdateSubscription request does not included a value for AutoRenew, the
existing value for AutoRenew remains unchanged.
AutoRenew,
AutoRenewSubscription.Builder limits(Collection<Limit> limits)
Specifies how many protections of a given type you can create.
limits - Specifies how many protections of a given type you can create.Subscription.Builder limits(Limit... limits)
Specifies how many protections of a given type you can create.
limits - Specifies how many protections of a given type you can create.Subscription.Builder limits(Consumer<Limit.Builder>... limits)
Specifies how many protections of a given type you can create.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #limits(List) .limits - a consumer that will call methods on List.Builder #limits(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.