Struct aws_sdk_ec2::model::ReservedInstancesListing
source · #[non_exhaustive]pub struct ReservedInstancesListing { /* private fields */ }
Expand description
Describes a Reserved Instance listing.
Implementations§
source§impl ReservedInstancesListing
impl ReservedInstancesListing
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
sourcepub fn create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The time the listing was created.
sourcepub fn instance_counts(&self) -> Option<&[InstanceCount]>
pub fn instance_counts(&self) -> Option<&[InstanceCount]>
The number of instances in this state.
sourcepub fn price_schedules(&self) -> Option<&[PriceSchedule]>
pub fn price_schedules(&self) -> Option<&[PriceSchedule]>
The price of the Reserved Instance listing.
sourcepub fn reserved_instances_id(&self) -> Option<&str>
pub fn reserved_instances_id(&self) -> Option<&str>
The ID of the Reserved Instance.
sourcepub fn reserved_instances_listing_id(&self) -> Option<&str>
pub fn reserved_instances_listing_id(&self) -> Option<&str>
The ID of the Reserved Instance listing.
sourcepub fn status(&self) -> Option<&ListingStatus>
pub fn status(&self) -> Option<&ListingStatus>
The status of the Reserved Instance listing.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The reason for the current status of the Reserved Instance listing. The response can be blank.
Any tags assigned to the resource.
sourcepub fn update_date(&self) -> Option<&DateTime>
pub fn update_date(&self) -> Option<&DateTime>
The last modified timestamp of the listing.
source§impl ReservedInstancesListing
impl ReservedInstancesListing
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservedInstancesListing
.
Trait Implementations§
source§impl Clone for ReservedInstancesListing
impl Clone for ReservedInstancesListing
source§fn clone(&self) -> ReservedInstancesListing
fn clone(&self) -> ReservedInstancesListing
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 Debug for ReservedInstancesListing
impl Debug for ReservedInstancesListing
source§impl PartialEq<ReservedInstancesListing> for ReservedInstancesListing
impl PartialEq<ReservedInstancesListing> for ReservedInstancesListing
source§fn eq(&self, other: &ReservedInstancesListing) -> bool
fn eq(&self, other: &ReservedInstancesListing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.