#[non_exhaustive]pub struct EksAnywhereSubscriptionTermBuilder { /* private fields */ }Expand description
A builder for EksAnywhereSubscriptionTerm.
Implementations§
source§impl EksAnywhereSubscriptionTermBuilder
impl EksAnywhereSubscriptionTermBuilder
sourcepub fn duration(self, input: i32) -> Self
pub fn duration(self, input: i32) -> Self
The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.
sourcepub fn set_duration(self, input: Option<i32>) -> Self
pub fn set_duration(self, input: Option<i32>) -> Self
The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.
sourcepub fn get_duration(&self) -> &Option<i32>
pub fn get_duration(&self) -> &Option<i32>
The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.
sourcepub fn unit(self, input: EksAnywhereSubscriptionTermUnit) -> Self
pub fn unit(self, input: EksAnywhereSubscriptionTermUnit) -> Self
The term unit of the subscription. Valid value is MONTHS.
sourcepub fn set_unit(self, input: Option<EksAnywhereSubscriptionTermUnit>) -> Self
pub fn set_unit(self, input: Option<EksAnywhereSubscriptionTermUnit>) -> Self
The term unit of the subscription. Valid value is MONTHS.
sourcepub fn get_unit(&self) -> &Option<EksAnywhereSubscriptionTermUnit>
pub fn get_unit(&self) -> &Option<EksAnywhereSubscriptionTermUnit>
The term unit of the subscription. Valid value is MONTHS.
sourcepub fn build(self) -> EksAnywhereSubscriptionTerm
pub fn build(self) -> EksAnywhereSubscriptionTerm
Consumes the builder and constructs a EksAnywhereSubscriptionTerm.
Trait Implementations§
source§impl Clone for EksAnywhereSubscriptionTermBuilder
impl Clone for EksAnywhereSubscriptionTermBuilder
source§fn clone(&self) -> EksAnywhereSubscriptionTermBuilder
fn clone(&self) -> EksAnywhereSubscriptionTermBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for EksAnywhereSubscriptionTermBuilder
impl Default for EksAnywhereSubscriptionTermBuilder
source§fn default() -> EksAnywhereSubscriptionTermBuilder
fn default() -> EksAnywhereSubscriptionTermBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EksAnywhereSubscriptionTermBuilder
impl PartialEq for EksAnywhereSubscriptionTermBuilder
source§fn eq(&self, other: &EksAnywhereSubscriptionTermBuilder) -> bool
fn eq(&self, other: &EksAnywhereSubscriptionTermBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EksAnywhereSubscriptionTermBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EksAnywhereSubscriptionTermBuilder
impl Send for EksAnywhereSubscriptionTermBuilder
impl Sync for EksAnywhereSubscriptionTermBuilder
impl Unpin for EksAnywhereSubscriptionTermBuilder
impl UnwindSafe for EksAnywhereSubscriptionTermBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.