Struct aws_sdk_mediaconnect::operation::purchase_offering::builders::PurchaseOfferingInputBuilder
source · #[non_exhaustive]pub struct PurchaseOfferingInputBuilder { /* private fields */ }
Expand description
A builder for PurchaseOfferingInput
.
Implementations§
source§impl PurchaseOfferingInputBuilder
impl PurchaseOfferingInputBuilder
sourcepub fn offering_arn(self, input: impl Into<String>) -> Self
pub fn offering_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the offering. This field is required.
sourcepub fn set_offering_arn(self, input: Option<String>) -> Self
pub fn set_offering_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the offering.
sourcepub fn get_offering_arn(&self) -> &Option<String>
pub fn get_offering_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the offering.
sourcepub fn reservation_name(self, input: impl Into<String>) -> Self
pub fn reservation_name(self, input: impl Into<String>) -> Self
The name that you want to use for the reservation. This field is required.
sourcepub fn set_reservation_name(self, input: Option<String>) -> Self
pub fn set_reservation_name(self, input: Option<String>) -> Self
The name that you want to use for the reservation.
sourcepub fn get_reservation_name(&self) -> &Option<String>
pub fn get_reservation_name(&self) -> &Option<String>
The name that you want to use for the reservation.
sourcepub fn start(self, input: impl Into<String>) -> Self
pub fn start(self, input: impl Into<String>) -> Self
The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today’s date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z. This field is required.
sourcepub fn set_start(self, input: Option<String>) -> Self
pub fn set_start(self, input: Option<String>) -> Self
The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today’s date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.
sourcepub fn get_start(&self) -> &Option<String>
pub fn get_start(&self) -> &Option<String>
The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today’s date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.
sourcepub fn build(self) -> Result<PurchaseOfferingInput, BuildError>
pub fn build(self) -> Result<PurchaseOfferingInput, BuildError>
Consumes the builder and constructs a PurchaseOfferingInput
.
source§impl PurchaseOfferingInputBuilder
impl PurchaseOfferingInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PurchaseOfferingOutput, SdkError<PurchaseOfferingError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PurchaseOfferingOutput, SdkError<PurchaseOfferingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PurchaseOfferingInputBuilder
impl Clone for PurchaseOfferingInputBuilder
source§fn clone(&self) -> PurchaseOfferingInputBuilder
fn clone(&self) -> PurchaseOfferingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PurchaseOfferingInputBuilder
impl Debug for PurchaseOfferingInputBuilder
source§impl Default for PurchaseOfferingInputBuilder
impl Default for PurchaseOfferingInputBuilder
source§fn default() -> PurchaseOfferingInputBuilder
fn default() -> PurchaseOfferingInputBuilder
source§impl PartialEq for PurchaseOfferingInputBuilder
impl PartialEq for PurchaseOfferingInputBuilder
source§fn eq(&self, other: &PurchaseOfferingInputBuilder) -> bool
fn eq(&self, other: &PurchaseOfferingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PurchaseOfferingInputBuilder
Auto Trait Implementations§
impl Freeze for PurchaseOfferingInputBuilder
impl RefUnwindSafe for PurchaseOfferingInputBuilder
impl Send for PurchaseOfferingInputBuilder
impl Sync for PurchaseOfferingInputBuilder
impl Unpin for PurchaseOfferingInputBuilder
impl UnwindSafe for PurchaseOfferingInputBuilder
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> 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