#[non_exhaustive]pub struct CloudWatchLogsDestinationDetails { /* private fields */ }Expand description
The configuration details of the CloudWatch Logs destination.
Implementations§
source§impl CloudWatchLogsDestinationDetails
impl CloudWatchLogsDestinationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudWatchLogsDestinationDetails.
Examples found in repository?
src/xml_deser.rs (line 12052)
12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072
pub fn deser_structure_crate_model_cloud_watch_logs_destination_details(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::CloudWatchLogsDestinationDetails, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::CloudWatchLogsDestinationDetails::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("LogGroup") /* LogGroup com.amazonaws.elasticache#CloudWatchLogsDestinationDetails$LogGroup */ => {
let var_525 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_log_group(var_525);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for CloudWatchLogsDestinationDetails
impl Clone for CloudWatchLogsDestinationDetails
source§fn clone(&self) -> CloudWatchLogsDestinationDetails
fn clone(&self) -> CloudWatchLogsDestinationDetails
Returns a copy 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 more