#[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 get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
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 get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
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 recording of configuration changes was initiated for the resource.
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 recording of configuration changes was initiated for the resource.
sourcepub fn get_configuration_item_capture_time(&self) -> &Option<DateTime>
pub fn get_configuration_item_capture_time(&self) -> &Option<DateTime>
The time when the recording of configuration changes was initiated for the resource.
sourcepub fn configuration_item_status(self, input: ConfigurationItemStatus) -> Self
pub fn configuration_item_status(self, input: ConfigurationItemStatus) -> Self
The configuration item status. Valid values include:
-
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 doesn't record resources of this type.
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted, but its configuration was not recorded since the recorder doesn't record resources of this type.
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. Valid values include:
-
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 doesn't record resources of this type.
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted, but its configuration was not recorded since the recorder doesn't record resources of this type.
sourcepub fn get_configuration_item_status(&self) -> &Option<ConfigurationItemStatus>
pub fn get_configuration_item_status(&self) -> &Option<ConfigurationItemStatus>
The configuration item status. Valid values include:
-
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 doesn't record resources of this type.
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted, but its configuration was not recorded since the recorder doesn't record resources of this type.
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 get_configuration_state_id(&self) -> &Option<String>
pub fn get_configuration_state_id(&self) -> &Option<String>
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 get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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 get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
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 get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
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 get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
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 get_resource_creation_time(&self) -> &Option<DateTime>
pub fn get_resource_creation_time(&self) -> &Option<DateTime>
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 get_configuration(&self) -> &Option<String>
pub fn get_configuration(&self) -> &Option<String>
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 get_supplementary_configuration(
&self
) -> &Option<HashMap<String, String>>
pub fn get_supplementary_configuration( &self ) -> &Option<HashMap<String, String>>
Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
sourcepub fn recording_frequency(self, input: RecordingFrequency) -> Self
pub fn recording_frequency(self, input: RecordingFrequency) -> Self
The recording frequency that Config uses to record configuration changes for the resource.
sourcepub fn set_recording_frequency(self, input: Option<RecordingFrequency>) -> Self
pub fn set_recording_frequency(self, input: Option<RecordingFrequency>) -> Self
The recording frequency that Config uses to record configuration changes for the resource.
sourcepub fn get_recording_frequency(&self) -> &Option<RecordingFrequency>
pub fn get_recording_frequency(&self) -> &Option<RecordingFrequency>
The recording frequency that Config uses to record configuration changes for the resource.
sourcepub fn configuration_item_delivery_time(self, input: DateTime) -> Self
pub fn configuration_item_delivery_time(self, input: DateTime) -> Self
The time when configuration changes for the resource were delivered.
sourcepub fn set_configuration_item_delivery_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_configuration_item_delivery_time( self, input: Option<DateTime> ) -> Self
The time when configuration changes for the resource were delivered.
sourcepub fn get_configuration_item_delivery_time(&self) -> &Option<DateTime>
pub fn get_configuration_item_delivery_time(&self) -> &Option<DateTime>
The time when configuration changes for the resource were delivered.
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 for BaseConfigurationItemBuilder
impl PartialEq 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 ==.