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 ==.impl StructuralPartialEq for GetOfferingStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetOfferingStatusOutputBuilder
impl RefUnwindSafe for GetOfferingStatusOutputBuilder
impl Send for GetOfferingStatusOutputBuilder
impl Sync for GetOfferingStatusOutputBuilder
impl Unpin for GetOfferingStatusOutputBuilder
impl UnwindSafe for GetOfferingStatusOutputBuilder
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