Struct aws_sdk_s3::model::analytics_export_destination::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AnalyticsExportDestination
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_bucket_destination(self, input: AnalyticsS3BucketDestination) -> Self
pub fn s3_bucket_destination(self, input: AnalyticsS3BucketDestination) -> Self
A destination signifying output to an S3 bucket.
sourcepub fn set_s3_bucket_destination(
self,
input: Option<AnalyticsS3BucketDestination>
) -> Self
pub fn set_s3_bucket_destination(
self,
input: Option<AnalyticsS3BucketDestination>
) -> Self
A destination signifying output to an S3 bucket.
Examples found in repository?
src/xml_deser.rs (line 7503)
7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510
pub fn deser_structure_crate_model_analytics_export_destination(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::AnalyticsExportDestination, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::AnalyticsExportDestination::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("S3BucketDestination") /* S3BucketDestination com.amazonaws.s3#AnalyticsExportDestination$S3BucketDestination */ => {
let var_412 =
Some(
crate::xml_deser::deser_structure_crate_model_analytics_s3_bucket_destination(&mut tag)
?
)
;
builder = builder.set_s3_bucket_destination(var_412);
}
,
_ => {}
}
}
Ok(builder.build())
}
sourcepub fn build(self) -> AnalyticsExportDestination
pub fn build(self) -> AnalyticsExportDestination
Consumes the builder and constructs a AnalyticsExportDestination
.
Examples found in repository?
src/xml_deser.rs (line 7509)
7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510
pub fn deser_structure_crate_model_analytics_export_destination(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::AnalyticsExportDestination, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::AnalyticsExportDestination::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("S3BucketDestination") /* S3BucketDestination com.amazonaws.s3#AnalyticsExportDestination$S3BucketDestination */ => {
let var_412 =
Some(
crate::xml_deser::deser_structure_crate_model_analytics_s3_bucket_destination(&mut tag)
?
)
;
builder = builder.set_s3_bucket_destination(var_412);
}
,
_ => {}
}
}
Ok(builder.build())
}