Interface SubscriptionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscriptionSummary.Builder,,SubscriptionSummary> SdkBuilder<SubscriptionSummary.Builder,,SubscriptionSummary> SdkPojo
- Enclosing class:
SubscriptionSummary
-
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.The entity tag for concurrency control.planFamily(String planFamily) The pricing plan family for the subscription, such asCloudFront.The current tier level of the pricing plan.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 SubscriptionSummary.BuilderscheduledChange(Consumer<ScheduledChange.Builder> scheduledChange) A pending change that will take effect at the end of the current billing period, if any.scheduledChange(ScheduledChange scheduledChange) A pending change that will take effect at the end of the current billing period, if any.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.
- Parameters:
planTier- The current tier level of the pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLevel
The usage level within the plan tier.
- Parameters:
usageLevel- The usage level within the plan 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, if any.
- Parameters:
scheduledChange- A pending change that will take effect at the end of the current billing period, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledChange
default SubscriptionSummary.Builder scheduledChange(Consumer<ScheduledChange.Builder> scheduledChange) A pending change that will take effect at the end of the current billing period, if any.
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.
- Parameters:
status- The current status of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the subscription.
- Parameters:
status- The current status of the subscription.- 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.
-
eTag
The entity tag for concurrency control. Pass this value in the
If-Matchheader when making changes to this subscription.- Parameters:
eTag- The entity tag for concurrency control. Pass this value in theIf-Matchheader when making changes to this subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-