Interface Subscription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Subscription.Builder,,Subscription> SdkBuilder<Subscription.Builder,,Subscription> SdkPojo
- Enclosing class:
Subscription
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that uniquely identifies this subscription.The date and time when the subscription was created, in ISO 8601 format.planFamily(String planFamily) The pricing plan family for the subscription, such asCloudFront.The current tier level of the pricing plan, such asFREE,PRO,BUSINESS, orPREMIUM.resourceArns(String... resourceArns) The ARNs of the AWS resources covered by this subscription.resourceArns(Collection<String> resourceArns) The ARNs of the AWS resources covered by this subscription.default Subscription.BuilderscheduledChange(Consumer<ScheduledChange.Builder> scheduledChange) A pending change that will take effect at the end of the current billing period.scheduledChange(ScheduledChange scheduledChange) A pending change that will take effect at the end of the current billing period.The current status of the subscription.The current status of the subscription.statusReason(String statusReason) A human-readable explanation of the current status, present when additional context is available.The date and time when the subscription was last modified, in ISO 8601 format.usageLevel(String usageLevel) The usage level within the plan tier.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) that uniquely identifies this subscription.
- Parameters:
arn- The Amazon Resource Name (ARN) that uniquely identifies this subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planFamily
The pricing plan family for the subscription, such as
CloudFront.- Parameters:
planFamily- The pricing plan family for the subscription, such asCloudFront.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planTier
The current tier level of the pricing plan, such as
FREE,PRO,BUSINESS, orPREMIUM.- Parameters:
planTier- The current tier level of the pricing plan, such asFREE,PRO,BUSINESS, orPREMIUM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLevel
The usage level within the plan tier. When present, indicates a specific capacity configuration beyond the base tier.
- Parameters:
usageLevel- The usage level within the plan tier. When present, indicates a specific capacity configuration beyond the base tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledChange
A pending change that will take effect at the end of the current billing period. This field is present only when a downgrade or cancellation is scheduled.
- Parameters:
scheduledChange- A pending change that will take effect at the end of the current billing period. This field is present only when a downgrade or cancellation is scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledChange
A pending change that will take effect at the end of the current billing period. This field is present only when a downgrade or cancellation is scheduled.
This is a convenience method that creates an instance of theScheduledChange.Builderavoiding the need to create one manually viaScheduledChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledChange(ScheduledChange).- Parameters:
scheduledChange- a consumer that will call methods onScheduledChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the subscription. For the list of possible values, see the
Statustype.- Parameters:
status- The current status of the subscription. For the list of possible values, see theStatustype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the subscription. For the list of possible values, see the
Statustype.- Parameters:
status- The current status of the subscription. For the list of possible values, see theStatustype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A human-readable explanation of the current status, present when additional context is available.
- Parameters:
statusReason- A human-readable explanation of the current status, present when additional context is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
The ARNs of the AWS resources covered by this subscription.
- Parameters:
resourceArns- The ARNs of the AWS resources covered by this subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
The ARNs of the AWS resources covered by this subscription.
- Parameters:
resourceArns- The ARNs of the AWS resources covered by this subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time when the subscription was created, in ISO 8601 format.
- Parameters:
createdAt- The date and time when the subscription was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time when the subscription was last modified, in ISO 8601 format.
- Parameters:
updatedAt- The date and time when the subscription was last modified, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-