Struct aws_sdk_devicefarm::types::builders::OfferingStatusBuilder
source · #[non_exhaustive]pub struct OfferingStatusBuilder { /* private fields */ }Expand description
A builder for OfferingStatus.
Implementations§
source§impl OfferingStatusBuilder
impl OfferingStatusBuilder
sourcepub fn type(self, input: OfferingTransactionType) -> Self
pub fn type(self, input: OfferingTransactionType) -> Self
The type specified for the offering status.
sourcepub fn set_type(self, input: Option<OfferingTransactionType>) -> Self
pub fn set_type(self, input: Option<OfferingTransactionType>) -> Self
The type specified for the offering status.
sourcepub fn set_offering(self, input: Option<Offering>) -> Self
pub fn set_offering(self, input: Option<Offering>) -> Self
Represents the metadata of an offering status.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of available devices in the offering.
sourcepub fn effective_on(self, input: DateTime) -> Self
pub fn effective_on(self, input: DateTime) -> Self
The date on which the offering is effective.
sourcepub fn set_effective_on(self, input: Option<DateTime>) -> Self
pub fn set_effective_on(self, input: Option<DateTime>) -> Self
The date on which the offering is effective.
sourcepub fn build(self) -> OfferingStatus
pub fn build(self) -> OfferingStatus
Consumes the builder and constructs a OfferingStatus.
Trait Implementations§
source§impl Clone for OfferingStatusBuilder
impl Clone for OfferingStatusBuilder
source§fn clone(&self) -> OfferingStatusBuilder
fn clone(&self) -> OfferingStatusBuilder
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 Debug for OfferingStatusBuilder
impl Debug for OfferingStatusBuilder
source§impl Default for OfferingStatusBuilder
impl Default for OfferingStatusBuilder
source§fn default() -> OfferingStatusBuilder
fn default() -> OfferingStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<OfferingStatusBuilder> for OfferingStatusBuilder
impl PartialEq<OfferingStatusBuilder> for OfferingStatusBuilder
source§fn eq(&self, other: &OfferingStatusBuilder) -> bool
fn eq(&self, other: &OfferingStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.