Struct aws_sdk_ec2::types::Subscription
source · #[non_exhaustive]pub struct Subscription { /* private fields */ }Expand description
Describes an Infrastructure Performance subscription.
Implementations§
source§impl Subscription
impl Subscription
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The Region or Availability Zone that's the source for the subscription. For example, us-east-1.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Region or Availability Zone that's the target for the subscription. For example, eu-west-1.
sourcepub fn metric(&self) -> Option<&MetricType>
pub fn metric(&self) -> Option<&MetricType>
The metric used for the subscription.
sourcepub fn statistic(&self) -> Option<&StatisticType>
pub fn statistic(&self) -> Option<&StatisticType>
The statistic used for the subscription.
sourcepub fn period(&self) -> Option<&PeriodType>
pub fn period(&self) -> Option<&PeriodType>
The data aggregation time for the subscription.
source§impl Subscription
impl Subscription
sourcepub fn builder() -> SubscriptionBuilder
pub fn builder() -> SubscriptionBuilder
Creates a new builder-style object to manufacture Subscription.
Trait Implementations§
source§impl Clone for Subscription
impl Clone for Subscription
source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
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 Subscription
impl Debug for Subscription
source§impl PartialEq<Subscription> for Subscription
impl PartialEq<Subscription> for Subscription
source§fn eq(&self, other: &Subscription) -> bool
fn eq(&self, other: &Subscription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.