#[non_exhaustive]pub struct StorageVirtualMachineFilterBuilder { /* private fields */ }
Expand description
A builder for StorageVirtualMachineFilter
.
Implementations§
source§impl StorageVirtualMachineFilterBuilder
impl StorageVirtualMachineFilterBuilder
sourcepub fn name(self, input: StorageVirtualMachineFilterName) -> Self
pub fn name(self, input: StorageVirtualMachineFilterName) -> Self
The name for this filter.
sourcepub fn set_name(self, input: Option<StorageVirtualMachineFilterName>) -> Self
pub fn set_name(self, input: Option<StorageVirtualMachineFilterName>) -> Self
The name for this filter.
sourcepub fn get_name(&self) -> &Option<StorageVirtualMachineFilterName>
pub fn get_name(&self) -> &Option<StorageVirtualMachineFilterName>
The name for this filter.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
The values of the filter. These are all the values for any of the applied filters.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
The values of the filter. These are all the values for any of the applied filters.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
The values of the filter. These are all the values for any of the applied filters.
sourcepub fn build(self) -> StorageVirtualMachineFilter
pub fn build(self) -> StorageVirtualMachineFilter
Consumes the builder and constructs a StorageVirtualMachineFilter
.
Trait Implementations§
source§impl Clone for StorageVirtualMachineFilterBuilder
impl Clone for StorageVirtualMachineFilterBuilder
source§fn clone(&self) -> StorageVirtualMachineFilterBuilder
fn clone(&self) -> StorageVirtualMachineFilterBuilder
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 Default for StorageVirtualMachineFilterBuilder
impl Default for StorageVirtualMachineFilterBuilder
source§fn default() -> StorageVirtualMachineFilterBuilder
fn default() -> StorageVirtualMachineFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StorageVirtualMachineFilterBuilder
impl PartialEq for StorageVirtualMachineFilterBuilder
source§fn eq(&self, other: &StorageVirtualMachineFilterBuilder) -> bool
fn eq(&self, other: &StorageVirtualMachineFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageVirtualMachineFilterBuilder
Auto Trait Implementations§
impl Freeze for StorageVirtualMachineFilterBuilder
impl RefUnwindSafe for StorageVirtualMachineFilterBuilder
impl Send for StorageVirtualMachineFilterBuilder
impl Sync for StorageVirtualMachineFilterBuilder
impl Unpin for StorageVirtualMachineFilterBuilder
impl UnwindSafe for StorageVirtualMachineFilterBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.