Struct aws_sdk_s3::model::InventoryDestination
source · #[non_exhaustive]pub struct InventoryDestination { /* private fields */ }
Expand description
Specifies the inventory configuration for an Amazon S3 bucket.
Implementations§
source§impl InventoryDestination
impl InventoryDestination
sourcepub fn s3_bucket_destination(&self) -> Option<&InventoryS3BucketDestination>
pub fn s3_bucket_destination(&self) -> Option<&InventoryS3BucketDestination>
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
source§impl InventoryDestination
impl InventoryDestination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryDestination
.
Examples found in repository?
src/xml_deser.rs (line 6030)
6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047
pub fn deser_structure_crate_model_inventory_destination(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::InventoryDestination, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::InventoryDestination::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("S3BucketDestination") /* S3BucketDestination com.amazonaws.s3#InventoryDestination$S3BucketDestination */ => {
let var_332 =
Some(
crate::xml_deser::deser_structure_crate_model_inventory_s3_bucket_destination(&mut tag)
?
)
;
builder = builder.set_s3_bucket_destination(var_332);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for InventoryDestination
impl Clone for InventoryDestination
source§fn clone(&self) -> InventoryDestination
fn clone(&self) -> InventoryDestination
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