#[non_exhaustive]pub struct BaseConfigurationItemBuilder { /* private fields */ }Expand description
A builder for BaseConfigurationItem.
Implementations§
source§impl BaseConfigurationItemBuilder
impl BaseConfigurationItemBuilder
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version number of the resource configuration.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version number of the resource configuration.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The 12-digit Amazon Web Services account ID associated with the resource.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The 12-digit Amazon Web Services account ID associated with the resource.
sourcepub fn configuration_item_capture_time(self, input: DateTime) -> Self
pub fn configuration_item_capture_time(self, input: DateTime) -> Self
The time when the configuration recording was initiated.
sourcepub fn set_configuration_item_capture_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_configuration_item_capture_time( self, input: Option<DateTime> ) -> Self
The time when the configuration recording was initiated.
sourcepub fn configuration_item_status(self, input: ConfigurationItemStatus) -> Self
pub fn configuration_item_status(self, input: ConfigurationItemStatus) -> Self
The configuration item status. The valid values are:
-
OK – The resource configuration has been updated
-
ResourceDiscovered – The resource was newly discovered
-
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
The CIs do not incur any cost.
sourcepub fn set_configuration_item_status(
self,
input: Option<ConfigurationItemStatus>
) -> Self
pub fn set_configuration_item_status( self, input: Option<ConfigurationItemStatus> ) -> Self
The configuration item status. The valid values are:
-
OK – The resource configuration has been updated
-
ResourceDiscovered – The resource was newly discovered
-
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
The CIs do not incur any cost.
sourcepub fn configuration_state_id(self, input: impl Into<String>) -> Self
pub fn configuration_state_id(self, input: impl Into<String>) -> Self
An identifier that indicates the ordering of the configuration items of a resource.
sourcepub fn set_configuration_state_id(self, input: Option<String>) -> Self
pub fn set_configuration_state_id(self, input: Option<String>) -> Self
An identifier that indicates the ordering of the configuration items of a resource.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
The type of Amazon Web Services resource.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
The type of Amazon Web Services resource.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The custom name of the resource, if available.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The custom name of the resource, if available.
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The region where the resource resides.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The region where the resource resides.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone associated with the resource.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone associated with the resource.
sourcepub fn resource_creation_time(self, input: DateTime) -> Self
pub fn resource_creation_time(self, input: DateTime) -> Self
The time stamp when the resource was created.
sourcepub fn set_resource_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_resource_creation_time(self, input: Option<DateTime>) -> Self
The time stamp when the resource was created.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
The description of the resource configuration.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
The description of the resource configuration.
sourcepub fn supplementary_configuration(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn supplementary_configuration( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to supplementary_configuration.
To override the contents of this collection use set_supplementary_configuration.
Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
sourcepub fn set_supplementary_configuration(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_supplementary_configuration( self, input: Option<HashMap<String, String>> ) -> Self
Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
sourcepub fn build(self) -> BaseConfigurationItem
pub fn build(self) -> BaseConfigurationItem
Consumes the builder and constructs a BaseConfigurationItem.
Trait Implementations§
source§impl Clone for BaseConfigurationItemBuilder
impl Clone for BaseConfigurationItemBuilder
source§fn clone(&self) -> BaseConfigurationItemBuilder
fn clone(&self) -> BaseConfigurationItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BaseConfigurationItemBuilder
impl Debug for BaseConfigurationItemBuilder
source§impl Default for BaseConfigurationItemBuilder
impl Default for BaseConfigurationItemBuilder
source§fn default() -> BaseConfigurationItemBuilder
fn default() -> BaseConfigurationItemBuilder
source§impl PartialEq<BaseConfigurationItemBuilder> for BaseConfigurationItemBuilder
impl PartialEq<BaseConfigurationItemBuilder> for BaseConfigurationItemBuilder
source§fn eq(&self, other: &BaseConfigurationItemBuilder) -> bool
fn eq(&self, other: &BaseConfigurationItemBuilder) -> bool
self and other values to be equal, and is used
by ==.