Interface PricingPlan.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PricingPlan.Builder,PricingPlan>,SdkBuilder<PricingPlan.Builder,PricingPlan>,SdkPojo
- Enclosing class:
- PricingPlan
public static interface PricingPlan.Builder extends SdkPojo, CopyableBuilder<PricingPlan.Builder,PricingPlan>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PricingPlan.BuilderbillableEntityCount(Long billableEntityCount)The billable entity count.default PricingPlan.BuilderbundleInformation(Consumer<BundleInformation.Builder> bundleInformation)The pricing plan's bundle information.PricingPlan.BuilderbundleInformation(BundleInformation bundleInformation)The pricing plan's bundle information.PricingPlan.BuildereffectiveDateTime(Instant effectiveDateTime)The effective date and time of the pricing plan.PricingPlan.BuilderpricingMode(String pricingMode)The pricing mode.PricingPlan.BuilderpricingMode(PricingMode pricingMode)The pricing mode.PricingPlan.BuilderupdateDateTime(Instant updateDateTime)The set date and time for updating a pricing plan.PricingPlan.BuilderupdateReason(String updateReason)The update reason for changing a pricing plan.PricingPlan.BuilderupdateReason(UpdateReason updateReason)The update reason for changing a pricing plan.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
billableEntityCount
PricingPlan.Builder billableEntityCount(Long billableEntityCount)
The billable entity count.
- Parameters:
billableEntityCount- The billable entity count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleInformation
PricingPlan.Builder bundleInformation(BundleInformation bundleInformation)
The pricing plan's bundle information.
- Parameters:
bundleInformation- The pricing plan's bundle information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleInformation
default PricingPlan.Builder bundleInformation(Consumer<BundleInformation.Builder> bundleInformation)
The pricing plan's bundle information.
This is a convenience method that creates an instance of theBundleInformation.Builderavoiding the need to create one manually viaBundleInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobundleInformation(BundleInformation).- Parameters:
bundleInformation- a consumer that will call methods onBundleInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bundleInformation(BundleInformation)
-
effectiveDateTime
PricingPlan.Builder effectiveDateTime(Instant effectiveDateTime)
The effective date and time of the pricing plan.
- Parameters:
effectiveDateTime- The effective date and time of the pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingMode
PricingPlan.Builder pricingMode(String pricingMode)
The pricing mode.
- Parameters:
pricingMode- The pricing mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingMode,PricingMode
-
pricingMode
PricingPlan.Builder pricingMode(PricingMode pricingMode)
The pricing mode.
- Parameters:
pricingMode- The pricing mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingMode,PricingMode
-
updateDateTime
PricingPlan.Builder updateDateTime(Instant updateDateTime)
The set date and time for updating a pricing plan.
- Parameters:
updateDateTime- The set date and time for updating a pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateReason
PricingPlan.Builder updateReason(String updateReason)
The update reason for changing a pricing plan.
- Parameters:
updateReason- The update reason for changing a pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateReason,UpdateReason
-
updateReason
PricingPlan.Builder updateReason(UpdateReason updateReason)
The update reason for changing a pricing plan.
- Parameters:
updateReason- The update reason for changing a pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateReason,UpdateReason
-
-