Struct aws_sdk_ec2::operation::describe_host_reservations::builders::DescribeHostReservationsOutputBuilder
source · #[non_exhaustive]pub struct DescribeHostReservationsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeHostReservationsOutput.
Implementations§
source§impl DescribeHostReservationsOutputBuilder
impl DescribeHostReservationsOutputBuilder
sourcepub fn host_reservation_set(self, input: HostReservation) -> Self
pub fn host_reservation_set(self, input: HostReservation) -> Self
Appends an item to host_reservation_set.
To override the contents of this collection use set_host_reservation_set.
Details about the reservation's configuration.
sourcepub fn set_host_reservation_set(
self,
input: Option<Vec<HostReservation>>
) -> Self
pub fn set_host_reservation_set( self, input: Option<Vec<HostReservation>> ) -> Self
Details about the reservation's configuration.
sourcepub fn get_host_reservation_set(&self) -> &Option<Vec<HostReservation>>
pub fn get_host_reservation_set(&self) -> &Option<Vec<HostReservation>>
Details about the reservation's configuration.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeHostReservationsOutput
pub fn build(self) -> DescribeHostReservationsOutput
Consumes the builder and constructs a DescribeHostReservationsOutput.
Trait Implementations§
source§impl Clone for DescribeHostReservationsOutputBuilder
impl Clone for DescribeHostReservationsOutputBuilder
source§fn clone(&self) -> DescribeHostReservationsOutputBuilder
fn clone(&self) -> DescribeHostReservationsOutputBuilder
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 DescribeHostReservationsOutputBuilder
impl Default for DescribeHostReservationsOutputBuilder
source§fn default() -> DescribeHostReservationsOutputBuilder
fn default() -> DescribeHostReservationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeHostReservationsOutputBuilder> for DescribeHostReservationsOutputBuilder
impl PartialEq<DescribeHostReservationsOutputBuilder> for DescribeHostReservationsOutputBuilder
source§fn eq(&self, other: &DescribeHostReservationsOutputBuilder) -> bool
fn eq(&self, other: &DescribeHostReservationsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeHostReservationsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeHostReservationsOutputBuilder
impl Send for DescribeHostReservationsOutputBuilder
impl Sync for DescribeHostReservationsOutputBuilder
impl Unpin for DescribeHostReservationsOutputBuilder
impl UnwindSafe for DescribeHostReservationsOutputBuilder
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