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 |
proactiveEngagementStatus(ProactiveEngagementStatus proactiveEngagementStatus)
If
ENABLED , the DDoS Response Team (DRT) will use email and phone to notify contacts about
escalations to the DRT and to initiate proactive customer support. |
Subscription.Builder |
proactiveEngagementStatus(String proactiveEngagementStatus)
If
ENABLED , the DDoS Response Team (DRT) will use email and phone to notify contacts about
escalations to the DRT and to initiate proactive customer support. |
Subscription.Builder |
startTime(Instant startTime)
The start time of the subscription, in Unix time in seconds.
|
Subscription.Builder |
subscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
|
default Subscription.Builder |
subscriptionLimits(Consumer<SubscriptionLimits.Builder> subscriptionLimits)
Limits settings for your subscription.
|
Subscription.Builder |
subscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
|
Subscription.Builder |
timeCommitmentInSeconds(Long timeCommitmentInSeconds)
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Subscription.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
,
AutoRenew
Subscription.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
,
AutoRenew
Subscription.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)
Subscription.Builder proactiveEngagementStatus(String proactiveEngagementStatus)
If ENABLED
, the DDoS Response Team (DRT) will use email and phone to notify contacts about
escalations to the DRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the DRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
proactiveEngagementStatus
- If ENABLED
, the DDoS Response Team (DRT) will use email and phone to notify contacts
about escalations to the DRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The
status changes to ENABLED
when your request is fully processed.
If DISABLED
, the DRT will not proactively notify contacts about escalations or to
initiate proactive customer support.
ProactiveEngagementStatus
,
ProactiveEngagementStatus
Subscription.Builder proactiveEngagementStatus(ProactiveEngagementStatus proactiveEngagementStatus)
If ENABLED
, the DDoS Response Team (DRT) will use email and phone to notify contacts about
escalations to the DRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The status
changes to ENABLED
when your request is fully processed.
If DISABLED
, the DRT will not proactively notify contacts about escalations or to initiate
proactive customer support.
proactiveEngagementStatus
- If ENABLED
, the DDoS Response Team (DRT) will use email and phone to notify contacts
about escalations to the DRT and to initiate proactive customer support.
If PENDING
, you have requested proactive engagement and the request is pending. The
status changes to ENABLED
when your request is fully processed.
If DISABLED
, the DRT will not proactively notify contacts about escalations or to
initiate proactive customer support.
ProactiveEngagementStatus
,
ProactiveEngagementStatus
Subscription.Builder subscriptionLimits(SubscriptionLimits subscriptionLimits)
Limits settings for your subscription.
subscriptionLimits
- Limits settings for your subscription.default Subscription.Builder subscriptionLimits(Consumer<SubscriptionLimits.Builder> subscriptionLimits)
Limits settings for your subscription.
This is a convenience that creates an instance of theSubscriptionLimits.Builder
avoiding the need to
create one manually via SubscriptionLimits.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to subscriptionLimits(SubscriptionLimits)
.subscriptionLimits
- a consumer that will call methods on SubscriptionLimits.Builder
subscriptionLimits(SubscriptionLimits)
Subscription.Builder subscriptionArn(String subscriptionArn)
The ARN (Amazon Resource Name) of the subscription.
subscriptionArn
- The ARN (Amazon Resource Name) of the subscription.