Struct aws_sdk_s3::output::get_bucket_encryption_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetBucketEncryptionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn server_side_encryption_configuration(
self,
input: ServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration(
self,
input: ServerSideEncryptionConfiguration
) -> Self
Specifies the default server-side-encryption configuration.
sourcepub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
Specifies the default server-side-encryption configuration.
Examples found in repository?
src/operation_deser.rs (lines 1014-1016)
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
pub fn parse_get_bucket_encryption_response(
response: &http::Response<bytes::Bytes>,
) -> std::result::Result<
crate::output::GetBucketEncryptionOutput,
crate::error::GetBucketEncryptionError,
> {
Ok({
#[allow(unused_mut)]
let mut output = crate::output::get_bucket_encryption_output::Builder::default();
let _ = response;
output = output.set_server_side_encryption_configuration(
crate::http_serde::deser_payload_get_bucket_encryption_get_bucket_encryption_output_server_side_encryption_configuration(response.body().as_ref())?
);
output.build()
})
}
sourcepub fn build(self) -> GetBucketEncryptionOutput
pub fn build(self) -> GetBucketEncryptionOutput
Consumes the builder and constructs a GetBucketEncryptionOutput
.
Examples found in repository?
src/operation_deser.rs (line 1017)
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019
pub fn parse_get_bucket_encryption_response(
response: &http::Response<bytes::Bytes>,
) -> std::result::Result<
crate::output::GetBucketEncryptionOutput,
crate::error::GetBucketEncryptionError,
> {
Ok({
#[allow(unused_mut)]
let mut output = crate::output::get_bucket_encryption_output::Builder::default();
let _ = response;
output = output.set_server_side_encryption_configuration(
crate::http_serde::deser_payload_get_bucket_encryption_get_bucket_encryption_output_server_side_encryption_configuration(response.body().as_ref())?
);
output.build()
})
}