Struct aws_sdk_devicefarm::operation::get_offering_status::builders::GetOfferingStatusOutputBuilder
source · #[non_exhaustive]pub struct GetOfferingStatusOutputBuilder { /* private fields */ }Expand description
A builder for GetOfferingStatusOutput.
Implementations§
source§impl GetOfferingStatusOutputBuilder
impl GetOfferingStatusOutputBuilder
sourcepub fn current(self, k: impl Into<String>, v: OfferingStatus) -> Self
pub fn current(self, k: impl Into<String>, v: OfferingStatus) -> Self
Adds a key-value pair to current.
To override the contents of this collection use set_current.
When specified, gets the offering status for the current period.
sourcepub fn set_current(self, input: Option<HashMap<String, OfferingStatus>>) -> Self
pub fn set_current(self, input: Option<HashMap<String, OfferingStatus>>) -> Self
When specified, gets the offering status for the current period.
sourcepub fn get_current(&self) -> &Option<HashMap<String, OfferingStatus>>
pub fn get_current(&self) -> &Option<HashMap<String, OfferingStatus>>
When specified, gets the offering status for the current period.
sourcepub fn next_period(self, k: impl Into<String>, v: OfferingStatus) -> Self
pub fn next_period(self, k: impl Into<String>, v: OfferingStatus) -> Self
Adds a key-value pair to next_period.
To override the contents of this collection use set_next_period.
When specified, gets the offering status for the next period.
sourcepub fn set_next_period(
self,
input: Option<HashMap<String, OfferingStatus>>
) -> Self
pub fn set_next_period( self, input: Option<HashMap<String, OfferingStatus>> ) -> Self
When specified, gets the offering status for the next period.
sourcepub fn get_next_period(&self) -> &Option<HashMap<String, OfferingStatus>>
pub fn get_next_period(&self) -> &Option<HashMap<String, OfferingStatus>>
When specified, gets the offering status for the next period.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn build(self) -> GetOfferingStatusOutput
pub fn build(self) -> GetOfferingStatusOutput
Consumes the builder and constructs a GetOfferingStatusOutput.
Trait Implementations§
source§impl Clone for GetOfferingStatusOutputBuilder
impl Clone for GetOfferingStatusOutputBuilder
source§fn clone(&self) -> GetOfferingStatusOutputBuilder
fn clone(&self) -> GetOfferingStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetOfferingStatusOutputBuilder
impl Default for GetOfferingStatusOutputBuilder
source§fn default() -> GetOfferingStatusOutputBuilder
fn default() -> GetOfferingStatusOutputBuilder
source§impl PartialEq for GetOfferingStatusOutputBuilder
impl PartialEq for GetOfferingStatusOutputBuilder
source§fn eq(&self, other: &GetOfferingStatusOutputBuilder) -> bool
fn eq(&self, other: &GetOfferingStatusOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.