Struct aws_sdk_ec2::operation::purchase_reserved_instances_offering::builders::PurchaseReservedInstancesOfferingOutputBuilder
source · #[non_exhaustive]pub struct PurchaseReservedInstancesOfferingOutputBuilder { /* private fields */ }Expand description
A builder for PurchaseReservedInstancesOfferingOutput.
Implementations§
source§impl PurchaseReservedInstancesOfferingOutputBuilder
impl PurchaseReservedInstancesOfferingOutputBuilder
sourcepub fn reserved_instances_id(self, input: impl Into<String>) -> Self
pub fn reserved_instances_id(self, input: impl Into<String>) -> Self
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn set_reserved_instances_id(self, input: Option<String>) -> Self
pub fn set_reserved_instances_id(self, input: Option<String>) -> Self
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn get_reserved_instances_id(&self) -> &Option<String>
pub fn get_reserved_instances_id(&self) -> &Option<String>
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn build(self) -> PurchaseReservedInstancesOfferingOutput
pub fn build(self) -> PurchaseReservedInstancesOfferingOutput
Consumes the builder and constructs a PurchaseReservedInstancesOfferingOutput.
Trait Implementations§
source§impl Clone for PurchaseReservedInstancesOfferingOutputBuilder
impl Clone for PurchaseReservedInstancesOfferingOutputBuilder
source§fn clone(&self) -> PurchaseReservedInstancesOfferingOutputBuilder
fn clone(&self) -> PurchaseReservedInstancesOfferingOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PurchaseReservedInstancesOfferingOutputBuilder
impl Default for PurchaseReservedInstancesOfferingOutputBuilder
source§fn default() -> PurchaseReservedInstancesOfferingOutputBuilder
fn default() -> PurchaseReservedInstancesOfferingOutputBuilder
source§impl PartialEq<PurchaseReservedInstancesOfferingOutputBuilder> for PurchaseReservedInstancesOfferingOutputBuilder
impl PartialEq<PurchaseReservedInstancesOfferingOutputBuilder> for PurchaseReservedInstancesOfferingOutputBuilder
source§fn eq(&self, other: &PurchaseReservedInstancesOfferingOutputBuilder) -> bool
fn eq(&self, other: &PurchaseReservedInstancesOfferingOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.