#[non_exhaustive]pub struct InstanceRequirementsWithMetadataRequestBuilder { /* private fields */ }
Expand description
A builder for InstanceRequirementsWithMetadataRequest
.
Implementations§
source§impl InstanceRequirementsWithMetadataRequestBuilder
impl InstanceRequirementsWithMetadataRequestBuilder
sourcepub fn architecture_types(self, input: ArchitectureType) -> Self
pub fn architecture_types(self, input: ArchitectureType) -> Self
Appends an item to architecture_types
.
To override the contents of this collection use set_architecture_types
.
The architecture type.
sourcepub fn set_architecture_types(
self,
input: Option<Vec<ArchitectureType>>
) -> Self
pub fn set_architecture_types( self, input: Option<Vec<ArchitectureType>> ) -> Self
The architecture type.
sourcepub fn get_architecture_types(&self) -> &Option<Vec<ArchitectureType>>
pub fn get_architecture_types(&self) -> &Option<Vec<ArchitectureType>>
The architecture type.
sourcepub fn virtualization_types(self, input: VirtualizationType) -> Self
pub fn virtualization_types(self, input: VirtualizationType) -> Self
Appends an item to virtualization_types
.
To override the contents of this collection use set_virtualization_types
.
The virtualization type.
sourcepub fn set_virtualization_types(
self,
input: Option<Vec<VirtualizationType>>
) -> Self
pub fn set_virtualization_types( self, input: Option<Vec<VirtualizationType>> ) -> Self
The virtualization type.
sourcepub fn get_virtualization_types(&self) -> &Option<Vec<VirtualizationType>>
pub fn get_virtualization_types(&self) -> &Option<Vec<VirtualizationType>>
The virtualization type.
sourcepub fn instance_requirements(self, input: InstanceRequirementsRequest) -> Self
pub fn instance_requirements(self, input: InstanceRequirementsRequest) -> Self
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
sourcepub fn set_instance_requirements(
self,
input: Option<InstanceRequirementsRequest>
) -> Self
pub fn set_instance_requirements( self, input: Option<InstanceRequirementsRequest> ) -> Self
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
sourcepub fn get_instance_requirements(&self) -> &Option<InstanceRequirementsRequest>
pub fn get_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.
sourcepub fn build(self) -> InstanceRequirementsWithMetadataRequest
pub fn build(self) -> InstanceRequirementsWithMetadataRequest
Consumes the builder and constructs a InstanceRequirementsWithMetadataRequest
.
Trait Implementations§
source§impl Clone for InstanceRequirementsWithMetadataRequestBuilder
impl Clone for InstanceRequirementsWithMetadataRequestBuilder
source§fn clone(&self) -> InstanceRequirementsWithMetadataRequestBuilder
fn clone(&self) -> InstanceRequirementsWithMetadataRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InstanceRequirementsWithMetadataRequestBuilder
impl Default for InstanceRequirementsWithMetadataRequestBuilder
source§fn default() -> InstanceRequirementsWithMetadataRequestBuilder
fn default() -> InstanceRequirementsWithMetadataRequestBuilder
source§impl PartialEq<InstanceRequirementsWithMetadataRequestBuilder> for InstanceRequirementsWithMetadataRequestBuilder
impl PartialEq<InstanceRequirementsWithMetadataRequestBuilder> for InstanceRequirementsWithMetadataRequestBuilder
source§fn eq(&self, other: &InstanceRequirementsWithMetadataRequestBuilder) -> bool
fn eq(&self, other: &InstanceRequirementsWithMetadataRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.