#[non_exhaustive]pub struct EffectivePreferredResourceBuilder { /* private fields */ }
Expand description
A builder for EffectivePreferredResource
.
Implementations§
source§impl EffectivePreferredResourceBuilder
impl EffectivePreferredResourceBuilder
sourcepub fn name(self, input: PreferredResourceName) -> Self
pub fn name(self, input: PreferredResourceName) -> Self
The name of the preferred resource list.
sourcepub fn set_name(self, input: Option<PreferredResourceName>) -> Self
pub fn set_name(self, input: Option<PreferredResourceName>) -> Self
The name of the preferred resource list.
sourcepub fn get_name(&self) -> &Option<PreferredResourceName>
pub fn get_name(&self) -> &Option<PreferredResourceName>
The name of the preferred resource list.
sourcepub fn include_list(self, input: impl Into<String>) -> Self
pub fn include_list(self, input: impl Into<String>) -> Self
Appends an item to include_list
.
To override the contents of this collection use set_include_list
.
The list of preferred resource values that you want considered as rightsizing recommendation candidates.
sourcepub fn set_include_list(self, input: Option<Vec<String>>) -> Self
pub fn set_include_list(self, input: Option<Vec<String>>) -> Self
The list of preferred resource values that you want considered as rightsizing recommendation candidates.
sourcepub fn get_include_list(&self) -> &Option<Vec<String>>
pub fn get_include_list(&self) -> &Option<Vec<String>>
The list of preferred resource values that you want considered as rightsizing recommendation candidates.
sourcepub fn effective_include_list(self, input: impl Into<String>) -> Self
pub fn effective_include_list(self, input: impl Into<String>) -> Self
Appends an item to effective_include_list
.
To override the contents of this collection use set_effective_include_list
.
The expanded version of your preferred resource's include list.
sourcepub fn set_effective_include_list(self, input: Option<Vec<String>>) -> Self
pub fn set_effective_include_list(self, input: Option<Vec<String>>) -> Self
The expanded version of your preferred resource's include list.
sourcepub fn get_effective_include_list(&self) -> &Option<Vec<String>>
pub fn get_effective_include_list(&self) -> &Option<Vec<String>>
The expanded version of your preferred resource's include list.
sourcepub fn exclude_list(self, input: impl Into<String>) -> Self
pub fn exclude_list(self, input: impl Into<String>) -> Self
Appends an item to exclude_list
.
To override the contents of this collection use set_exclude_list
.
The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
sourcepub fn set_exclude_list(self, input: Option<Vec<String>>) -> Self
pub fn set_exclude_list(self, input: Option<Vec<String>>) -> Self
The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
sourcepub fn get_exclude_list(&self) -> &Option<Vec<String>>
pub fn get_exclude_list(&self) -> &Option<Vec<String>>
The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
sourcepub fn build(self) -> EffectivePreferredResource
pub fn build(self) -> EffectivePreferredResource
Consumes the builder and constructs a EffectivePreferredResource
.
Trait Implementations§
source§impl Clone for EffectivePreferredResourceBuilder
impl Clone for EffectivePreferredResourceBuilder
source§fn clone(&self) -> EffectivePreferredResourceBuilder
fn clone(&self) -> EffectivePreferredResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EffectivePreferredResourceBuilder
impl Default for EffectivePreferredResourceBuilder
source§fn default() -> EffectivePreferredResourceBuilder
fn default() -> EffectivePreferredResourceBuilder
source§impl PartialEq for EffectivePreferredResourceBuilder
impl PartialEq for EffectivePreferredResourceBuilder
source§fn eq(&self, other: &EffectivePreferredResourceBuilder) -> bool
fn eq(&self, other: &EffectivePreferredResourceBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EffectivePreferredResourceBuilder
Auto Trait Implementations§
impl Freeze for EffectivePreferredResourceBuilder
impl RefUnwindSafe for EffectivePreferredResourceBuilder
impl Send for EffectivePreferredResourceBuilder
impl Sync for EffectivePreferredResourceBuilder
impl Unpin for EffectivePreferredResourceBuilder
impl UnwindSafe for EffectivePreferredResourceBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more