#[non_exhaustive]pub struct InstanceRequirementsWithMetadataRequest {
pub architecture_types: Option<Vec<ArchitectureType>>,
pub virtualization_types: Option<Vec<VirtualizationType>>,
pub instance_requirements: Option<InstanceRequirementsRequest>,
}
Expand description
The architecture type, virtualization type, and other attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify InstanceRequirementsWithMetadataRequest
, you can't specify InstanceTypes
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.architecture_types: Option<Vec<ArchitectureType>>
The architecture type.
virtualization_types: Option<Vec<VirtualizationType>>
The virtualization type.
instance_requirements: Option<InstanceRequirementsRequest>
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
Implementations§
source§impl InstanceRequirementsWithMetadataRequest
impl InstanceRequirementsWithMetadataRequest
sourcepub fn architecture_types(&self) -> Option<&[ArchitectureType]>
pub fn architecture_types(&self) -> Option<&[ArchitectureType]>
The architecture type.
sourcepub fn virtualization_types(&self) -> Option<&[VirtualizationType]>
pub fn virtualization_types(&self) -> Option<&[VirtualizationType]>
The virtualization type.
sourcepub fn instance_requirements(&self) -> Option<&InstanceRequirementsRequest>
pub fn instance_requirements(&self) -> Option<&InstanceRequirementsRequest>
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
source§impl InstanceRequirementsWithMetadataRequest
impl InstanceRequirementsWithMetadataRequest
sourcepub fn builder() -> InstanceRequirementsWithMetadataRequestBuilder
pub fn builder() -> InstanceRequirementsWithMetadataRequestBuilder
Creates a new builder-style object to manufacture InstanceRequirementsWithMetadataRequest
.
Trait Implementations§
source§impl Clone for InstanceRequirementsWithMetadataRequest
impl Clone for InstanceRequirementsWithMetadataRequest
source§fn clone(&self) -> InstanceRequirementsWithMetadataRequest
fn clone(&self) -> InstanceRequirementsWithMetadataRequest
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 PartialEq<InstanceRequirementsWithMetadataRequest> for InstanceRequirementsWithMetadataRequest
impl PartialEq<InstanceRequirementsWithMetadataRequest> for InstanceRequirementsWithMetadataRequest
source§fn eq(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
fn eq(&self, other: &InstanceRequirementsWithMetadataRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceRequirementsWithMetadataRequest
Auto Trait Implementations§
impl RefUnwindSafe for InstanceRequirementsWithMetadataRequest
impl Send for InstanceRequirementsWithMetadataRequest
impl Sync for InstanceRequirementsWithMetadataRequest
impl Unpin for InstanceRequirementsWithMetadataRequest
impl UnwindSafe for InstanceRequirementsWithMetadataRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more