Struct aws_sdk_iottwinmaker::types::builders::PricingPlanBuilder
source · #[non_exhaustive]pub struct PricingPlanBuilder { /* private fields */ }Expand description
A builder for PricingPlan.
Implementations§
source§impl PricingPlanBuilder
impl PricingPlanBuilder
sourcepub fn billable_entity_count(self, input: i64) -> Self
pub fn billable_entity_count(self, input: i64) -> Self
The billable entity count.
sourcepub fn set_billable_entity_count(self, input: Option<i64>) -> Self
pub fn set_billable_entity_count(self, input: Option<i64>) -> Self
The billable entity count.
sourcepub fn get_billable_entity_count(&self) -> &Option<i64>
pub fn get_billable_entity_count(&self) -> &Option<i64>
The billable entity count.
sourcepub fn bundle_information(self, input: BundleInformation) -> Self
pub fn bundle_information(self, input: BundleInformation) -> Self
The pricing plan's bundle information.
sourcepub fn set_bundle_information(self, input: Option<BundleInformation>) -> Self
pub fn set_bundle_information(self, input: Option<BundleInformation>) -> Self
The pricing plan's bundle information.
sourcepub fn get_bundle_information(&self) -> &Option<BundleInformation>
pub fn get_bundle_information(&self) -> &Option<BundleInformation>
The pricing plan's bundle information.
sourcepub fn effective_date_time(self, input: DateTime) -> Self
pub fn effective_date_time(self, input: DateTime) -> Self
The effective date and time of the pricing plan.
This field is required.sourcepub fn set_effective_date_time(self, input: Option<DateTime>) -> Self
pub fn set_effective_date_time(self, input: Option<DateTime>) -> Self
The effective date and time of the pricing plan.
sourcepub fn get_effective_date_time(&self) -> &Option<DateTime>
pub fn get_effective_date_time(&self) -> &Option<DateTime>
The effective date and time of the pricing plan.
sourcepub fn pricing_mode(self, input: PricingMode) -> Self
pub fn pricing_mode(self, input: PricingMode) -> Self
The pricing mode.
This field is required.sourcepub fn set_pricing_mode(self, input: Option<PricingMode>) -> Self
pub fn set_pricing_mode(self, input: Option<PricingMode>) -> Self
The pricing mode.
sourcepub fn get_pricing_mode(&self) -> &Option<PricingMode>
pub fn get_pricing_mode(&self) -> &Option<PricingMode>
The pricing mode.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The set date and time for updating a pricing plan.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The set date and time for updating a pricing plan.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The set date and time for updating a pricing plan.
sourcepub fn update_reason(self, input: UpdateReason) -> Self
pub fn update_reason(self, input: UpdateReason) -> Self
The update reason for changing a pricing plan.
This field is required.sourcepub fn set_update_reason(self, input: Option<UpdateReason>) -> Self
pub fn set_update_reason(self, input: Option<UpdateReason>) -> Self
The update reason for changing a pricing plan.
sourcepub fn get_update_reason(&self) -> &Option<UpdateReason>
pub fn get_update_reason(&self) -> &Option<UpdateReason>
The update reason for changing a pricing plan.
sourcepub fn build(self) -> Result<PricingPlan, BuildError>
pub fn build(self) -> Result<PricingPlan, BuildError>
Consumes the builder and constructs a PricingPlan.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PricingPlanBuilder
impl Clone for PricingPlanBuilder
source§fn clone(&self) -> PricingPlanBuilder
fn clone(&self) -> PricingPlanBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PricingPlanBuilder
impl Debug for PricingPlanBuilder
source§impl Default for PricingPlanBuilder
impl Default for PricingPlanBuilder
source§fn default() -> PricingPlanBuilder
fn default() -> PricingPlanBuilder
source§impl PartialEq for PricingPlanBuilder
impl PartialEq for PricingPlanBuilder
impl StructuralPartialEq for PricingPlanBuilder
Auto Trait Implementations§
impl Freeze for PricingPlanBuilder
impl RefUnwindSafe for PricingPlanBuilder
impl Send for PricingPlanBuilder
impl Sync for PricingPlanBuilder
impl Unpin for PricingPlanBuilder
impl UnwindSafe for PricingPlanBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more