#[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 ==
.