#[non_exhaustive]pub struct CapacityReservationTargetResponseBuilder { /* private fields */ }Expand description
A builder for CapacityReservationTargetResponse.
Implementations§
source§impl CapacityReservationTargetResponseBuilder
impl CapacityReservationTargetResponseBuilder
sourcepub fn capacity_reservation_id(self, input: impl Into<String>) -> Self
pub fn capacity_reservation_id(self, input: impl Into<String>) -> Self
The ID of the targeted Capacity Reservation.
sourcepub fn set_capacity_reservation_id(self, input: Option<String>) -> Self
pub fn set_capacity_reservation_id(self, input: Option<String>) -> Self
The ID of the targeted Capacity Reservation.
sourcepub fn capacity_reservation_resource_group_arn(
self,
input: impl Into<String>
) -> Self
pub fn capacity_reservation_resource_group_arn( self, input: impl Into<String> ) -> Self
The ARN of the targeted Capacity Reservation group.
sourcepub fn set_capacity_reservation_resource_group_arn(
self,
input: Option<String>
) -> Self
pub fn set_capacity_reservation_resource_group_arn( self, input: Option<String> ) -> Self
The ARN of the targeted Capacity Reservation group.
sourcepub fn build(self) -> CapacityReservationTargetResponse
pub fn build(self) -> CapacityReservationTargetResponse
Consumes the builder and constructs a CapacityReservationTargetResponse.
Trait Implementations§
source§impl Clone for CapacityReservationTargetResponseBuilder
impl Clone for CapacityReservationTargetResponseBuilder
source§fn clone(&self) -> CapacityReservationTargetResponseBuilder
fn clone(&self) -> CapacityReservationTargetResponseBuilder
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 CapacityReservationTargetResponseBuilder
impl Default for CapacityReservationTargetResponseBuilder
source§fn default() -> CapacityReservationTargetResponseBuilder
fn default() -> CapacityReservationTargetResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CapacityReservationTargetResponseBuilder> for CapacityReservationTargetResponseBuilder
impl PartialEq<CapacityReservationTargetResponseBuilder> for CapacityReservationTargetResponseBuilder
source§fn eq(&self, other: &CapacityReservationTargetResponseBuilder) -> bool
fn eq(&self, other: &CapacityReservationTargetResponseBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.