pub struct AWSServiceConfig {
pub enable: bool,
pub role: Option<RoleFullname>,
pub included_metrics: Vec<String>,
pub excluded_metrics: Vec<String>,
pub retire_automatically: bool,
}
Expand description
An AWS integration service config
Fields§
§enable: bool
§role: Option<RoleFullname>
§included_metrics: Vec<String>
§excluded_metrics: Vec<String>
§retire_automatically: bool
Implementations§
Source§impl AWSServiceConfig
impl AWSServiceConfig
Sourcepub fn builder() -> AWSServiceConfigBuilder<((), (), (), (), ())>
pub fn builder() -> AWSServiceConfigBuilder<((), (), (), (), ())>
Create a builder for building AWSServiceConfig
.
On the builder, call .enable(...)
(optional), .role(...)
(optional), .included_metrics(...)
(optional), .excluded_metrics(...)
(optional), .retire_automatically(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of AWSServiceConfig
.
Trait Implementations§
Source§impl Clone for AWSServiceConfig
impl Clone for AWSServiceConfig
Source§fn clone(&self) -> AWSServiceConfig
fn clone(&self) -> AWSServiceConfig
Returns a duplicate 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 Debug for AWSServiceConfig
impl Debug for AWSServiceConfig
Source§impl<'de> Deserialize<'de> for AWSServiceConfig
impl<'de> Deserialize<'de> for AWSServiceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AWSServiceConfig
impl PartialEq for AWSServiceConfig
Source§impl Serialize for AWSServiceConfig
impl Serialize for AWSServiceConfig
impl StructuralPartialEq for AWSServiceConfig
Auto Trait Implementations§
impl Freeze for AWSServiceConfig
impl RefUnwindSafe for AWSServiceConfig
impl Send for AWSServiceConfig
impl Sync for AWSServiceConfig
impl Unpin for AWSServiceConfig
impl UnwindSafe for AWSServiceConfig
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