Interface Subscription.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Subscription.Builder,,- Subscription> - SdkBuilder<Subscription.Builder,,- Subscription> - SdkPojo
- Enclosing class:
- Subscription
- 
Method SummaryModifier and TypeMethodDescriptionIfENABLED, the subscription will be automatically renewed at the end of the existing subscription period.IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period.The date and time your subscription will end.limits(Collection<Limit> limits) Specifies how many protections of a given type you can create.limits(Consumer<Limit.Builder>... limits) Specifies how many protections of a given type you can create.Specifies how many protections of a given type you can create.proactiveEngagementStatus(String proactiveEngagementStatus) IfENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.proactiveEngagementStatus(ProactiveEngagementStatus proactiveEngagementStatus) IfENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.The start time of the subscription, in Unix time in seconds.subscriptionArn(String subscriptionArn) The ARN (Amazon Resource Name) of the subscription.default Subscription.BuildersubscriptionLimits(Consumer<SubscriptionLimits.Builder> subscriptionLimits) Limits settings for your subscription.subscriptionLimits(SubscriptionLimits subscriptionLimits) Limits settings for your subscription.timeCommitmentInSeconds(Long timeCommitmentInSeconds) The length, in seconds, of the Shield Advanced subscription for the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
startTimeThe start time of the subscription, in Unix time in seconds. - Parameters:
- startTime- The start time of the subscription, in Unix time in seconds.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endTimeThe date and time your subscription will end. - Parameters:
- endTime- The date and time your subscription will end.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeCommitmentInSecondsThe length, in seconds, of the Shield Advanced subscription for the account. - Parameters:
- timeCommitmentInSeconds- The length, in seconds, of the Shield Advanced subscription for the account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoRenewIf ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.When you initally create a subscription, AutoRenewis set toENABLED. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Parameters:
- autoRenew- If- ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.- When you initally create a subscription, - AutoRenewis set to- ENABLED. You can change this by submitting an- UpdateSubscriptionrequest. If the- UpdateSubscriptionrequest does not included a value for- AutoRenew, the existing value for- AutoRenewremains unchanged.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
autoRenewIf ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.When you initally create a subscription, AutoRenewis set toENABLED. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Parameters:
- autoRenew- If- ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.- When you initally create a subscription, - AutoRenewis set to- ENABLED. You can change this by submitting an- UpdateSubscriptionrequest. If the- UpdateSubscriptionrequest does not included a value for- AutoRenew, the existing value for- AutoRenewremains unchanged.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
limitsSpecifies how many protections of a given type you can create. - Parameters:
- limits- Specifies how many protections of a given type you can create.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
limitsSpecifies how many protections of a given type you can create. - Parameters:
- limits- Specifies how many protections of a given type you can create.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
limitsSpecifies how many protections of a given type you can create. This is a convenience method that creates an instance of theLimit.Builderavoiding the need to create one manually viaLimit.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimits(List<Limit>).- Parameters:
- limits- a consumer that will call methods on- Limit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
proactiveEngagementStatusIf ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.If PENDING, you have requested proactive engagement and the request is pending. The status changes toENABLEDwhen your request is fully processed.If DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.- Parameters:
- proactiveEngagementStatus- If- ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.- If - PENDING, you have requested proactive engagement and the request is pending. The status changes to- ENABLEDwhen your request is fully processed.- If - DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
proactiveEngagementStatusIf ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.If PENDING, you have requested proactive engagement and the request is pending. The status changes toENABLEDwhen your request is fully processed.If DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.- Parameters:
- proactiveEngagementStatus- If- ENABLED, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.- If - PENDING, you have requested proactive engagement and the request is pending. The status changes to- ENABLEDwhen your request is fully processed.- If - DISABLED, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscriptionLimitsLimits settings for your subscription. - Parameters:
- subscriptionLimits- Limits settings for your subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subscriptionLimitsdefault Subscription.Builder subscriptionLimits(Consumer<SubscriptionLimits.Builder> subscriptionLimits) Limits settings for your subscription. This is a convenience method that creates an instance of theSubscriptionLimits.Builderavoiding the need to create one manually viaSubscriptionLimits.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriptionLimits(SubscriptionLimits).- Parameters:
- subscriptionLimits- a consumer that will call methods on- SubscriptionLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscriptionArnThe ARN (Amazon Resource Name) of the subscription. - Parameters:
- subscriptionArn- The ARN (Amazon Resource Name) of the subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-