#[non_exhaustive]pub struct AcceleratorTypeOffering {
pub accelerator_type: Option<String>,
pub location_type: Option<LocationType>,
pub location: Option<String>,
}
Expand description
The offering for an Elastic Inference Accelerator type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accelerator_type: Option<String>
The name of the Elastic Inference Accelerator type.
location_type: Option<LocationType>
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
location: Option<String>
The location for the offering. It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.
Implementations§
source§impl AcceleratorTypeOffering
impl AcceleratorTypeOffering
sourcepub fn accelerator_type(&self) -> Option<&str>
pub fn accelerator_type(&self) -> Option<&str>
The name of the Elastic Inference Accelerator type.
sourcepub fn location_type(&self) -> Option<&LocationType>
pub fn location_type(&self) -> Option<&LocationType>
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
source§impl AcceleratorTypeOffering
impl AcceleratorTypeOffering
sourcepub fn builder() -> AcceleratorTypeOfferingBuilder
pub fn builder() -> AcceleratorTypeOfferingBuilder
Creates a new builder-style object to manufacture AcceleratorTypeOffering
.
Trait Implementations§
source§impl Clone for AcceleratorTypeOffering
impl Clone for AcceleratorTypeOffering
source§fn clone(&self) -> AcceleratorTypeOffering
fn clone(&self) -> AcceleratorTypeOffering
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AcceleratorTypeOffering
impl Debug for AcceleratorTypeOffering
source§impl PartialEq for AcceleratorTypeOffering
impl PartialEq for AcceleratorTypeOffering
source§fn eq(&self, other: &AcceleratorTypeOffering) -> bool
fn eq(&self, other: &AcceleratorTypeOffering) -> bool
self
and other
values to be equal, and is used
by ==
.