Interface PricingPlan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PricingPlan.Builder,
,PricingPlan> SdkBuilder<PricingPlan.Builder,
,PricingPlan> SdkPojo
- Enclosing class:
PricingPlan
@Mutable
@NotThreadSafe
public static interface PricingPlan.Builder
extends SdkPojo, CopyableBuilder<PricingPlan.Builder,PricingPlan>
-
Method Summary
Modifier and TypeMethodDescriptionbillableEntityCount
(Long billableEntityCount) The billable entity count.default PricingPlan.Builder
bundleInformation
(Consumer<BundleInformation.Builder> bundleInformation) The pricing plan's bundle information.bundleInformation
(BundleInformation bundleInformation) The pricing plan's bundle information.effectiveDateTime
(Instant effectiveDateTime) The effective date and time of the pricing plan.pricingMode
(String pricingMode) The pricing mode.pricingMode
(PricingMode pricingMode) The pricing mode.updateDateTime
(Instant updateDateTime) The set date and time for updating a pricing plan.updateReason
(String updateReason) The update reason for changing a pricing plan.updateReason
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaBundleInformation.builder()
.When the
Consumer
completes,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:
-
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
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
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:
-
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
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
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:
-