Interface SubscriptionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscriptionSummary.Builder,,SubscriptionSummary> SdkBuilder<SubscriptionSummary.Builder,,SubscriptionSummary> SdkPojo
- Enclosing class:
SubscriptionSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app that the subscription belongs to.billingAnchorDate(Instant billingAnchorDate) The fixed reference instant the recurring billing cycle is measured from.billingCycle(String billingCycle) The billing cycle of the subscription, such as monthly or annual.billingCycle(BillingCycle billingCycle) The billing cycle of the subscription, such as monthly or annual.effectiveAt(Instant effectiveAt) The time when the subscription took effect.The ID of the plan on the user's latest subscription record.The opaque end-user identifier that the subscription belongs to.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
-
appId
The ID of the app that the subscription belongs to.
- Parameters:
appId- The ID of the app that the subscription belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The opaque end-user identifier that the subscription belongs to.
- Parameters:
userId- The opaque end-user identifier that the subscription belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planId
The ID of the plan on the user's latest subscription record. If a plan change is scheduled, this is the plan the subscription moves to; if a cancellation is scheduled or has taken effect, it is absent. Call GetSubscription for the plan in effect.
- Parameters:
planId- The ID of the plan on the user's latest subscription record. If a plan change is scheduled, this is the plan the subscription moves to; if a cancellation is scheduled or has taken effect, it is absent. Call GetSubscription for the plan in effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveAt
The time when the subscription took effect.
- Parameters:
effectiveAt- The time when the subscription took effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingAnchorDate
The fixed reference instant the recurring billing cycle is measured from. It is set when the subscription first takes effect and stays fixed as periods roll forward, so it is normally an older date than the current period — not the start of the current period. The resolved current-period end (
currentPeriodEndsAt) is available on GetSubscription for a single user; this summary carries only the anchor.- Parameters:
billingAnchorDate- The fixed reference instant the recurring billing cycle is measured from. It is set when the subscription first takes effect and stays fixed as periods roll forward, so it is normally an older date than the current period — not the start of the current period. The resolved current-period end (currentPeriodEndsAt) is available on GetSubscription for a single user; this summary carries only the anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingCycle
The billing cycle of the subscription, such as monthly or annual.
- Parameters:
billingCycle- The billing cycle of the subscription, such as monthly or annual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingCycle
The billing cycle of the subscription, such as monthly or annual.
- Parameters:
billingCycle- The billing cycle of the subscription, such as monthly or annual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-