#[non_exhaustive]pub struct ConfigurationTagBuilder { /* private fields */ }
Expand description
A builder for ConfigurationTag
.
Implementations§
source§impl ConfigurationTagBuilder
impl ConfigurationTagBuilder
sourcepub fn configuration_type(self, input: ConfigurationItemType) -> Self
pub fn configuration_type(self, input: ConfigurationItemType) -> Self
A type of IT asset to tag.
sourcepub fn set_configuration_type(
self,
input: Option<ConfigurationItemType>
) -> Self
pub fn set_configuration_type( self, input: Option<ConfigurationItemType> ) -> Self
A type of IT asset to tag.
sourcepub fn get_configuration_type(&self) -> &Option<ConfigurationItemType>
pub fn get_configuration_type(&self) -> &Option<ConfigurationItemType>
A type of IT asset to tag.
sourcepub fn configuration_id(self, input: impl Into<String>) -> Self
pub fn configuration_id(self, input: impl Into<String>) -> Self
The configuration ID for the item to tag. You can specify a list of keys and values.
sourcepub fn set_configuration_id(self, input: Option<String>) -> Self
pub fn set_configuration_id(self, input: Option<String>) -> Self
The configuration ID for the item to tag. You can specify a list of keys and values.
sourcepub fn get_configuration_id(&self) -> &Option<String>
pub fn get_configuration_id(&self) -> &Option<String>
The configuration ID for the item to tag. You can specify a list of keys and values.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
A type of tag on which to filter. For example, serverType.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
A type of tag on which to filter. For example, serverType.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
A type of tag on which to filter. For example, serverType.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A value on which to filter. For example key = serverType and value = web server.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A value on which to filter. For example key = serverType and value = web server.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
A value on which to filter. For example key = serverType and value = web server.
sourcepub fn time_of_creation(self, input: DateTime) -> Self
pub fn time_of_creation(self, input: DateTime) -> Self
The time the configuration tag was created in Coordinated Universal Time (UTC).
sourcepub fn set_time_of_creation(self, input: Option<DateTime>) -> Self
pub fn set_time_of_creation(self, input: Option<DateTime>) -> Self
The time the configuration tag was created in Coordinated Universal Time (UTC).
sourcepub fn get_time_of_creation(&self) -> &Option<DateTime>
pub fn get_time_of_creation(&self) -> &Option<DateTime>
The time the configuration tag was created in Coordinated Universal Time (UTC).
sourcepub fn build(self) -> ConfigurationTag
pub fn build(self) -> ConfigurationTag
Consumes the builder and constructs a ConfigurationTag
.
Trait Implementations§
source§impl Clone for ConfigurationTagBuilder
impl Clone for ConfigurationTagBuilder
source§fn clone(&self) -> ConfigurationTagBuilder
fn clone(&self) -> ConfigurationTagBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigurationTagBuilder
impl Debug for ConfigurationTagBuilder
source§impl Default for ConfigurationTagBuilder
impl Default for ConfigurationTagBuilder
source§fn default() -> ConfigurationTagBuilder
fn default() -> ConfigurationTagBuilder
source§impl PartialEq for ConfigurationTagBuilder
impl PartialEq for ConfigurationTagBuilder
source§fn eq(&self, other: &ConfigurationTagBuilder) -> bool
fn eq(&self, other: &ConfigurationTagBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.