Struct aws_sdk_macie2::types::builders::BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
source · #[non_exhaustive]pub struct BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder { /* private fields */ }
Expand description
A builder for BucketCountPolicyAllowsUnencryptedObjectUploads
.
Implementations§
source§impl BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
impl BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
sourcepub fn allows_unencrypted_object_uploads(self, input: i64) -> Self
pub fn allows_unencrypted_object_uploads(self, input: i64) -> Self
The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
sourcepub fn set_allows_unencrypted_object_uploads(self, input: Option<i64>) -> Self
pub fn set_allows_unencrypted_object_uploads(self, input: Option<i64>) -> Self
The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
sourcepub fn denies_unencrypted_object_uploads(self, input: i64) -> Self
pub fn denies_unencrypted_object_uploads(self, input: i64) -> Self
The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
sourcepub fn set_denies_unencrypted_object_uploads(self, input: Option<i64>) -> Self
pub fn set_denies_unencrypted_object_uploads(self, input: Option<i64>) -> Self
The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
sourcepub fn unknown(self, input: i64) -> Self
pub fn unknown(self, input: i64) -> Self
The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.
sourcepub fn set_unknown(self, input: Option<i64>) -> Self
pub fn set_unknown(self, input: Option<i64>) -> Self
The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.
sourcepub fn build(self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
pub fn build(self) -> BucketCountPolicyAllowsUnencryptedObjectUploads
Consumes the builder and constructs a BucketCountPolicyAllowsUnencryptedObjectUploads
.
Trait Implementations§
source§impl Clone for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
impl Clone for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
source§fn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
fn clone(&self) -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
impl Default for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
source§fn default() -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
fn default() -> BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
source§impl PartialEq<BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder> for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
impl PartialEq<BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder> for BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
source§fn eq(
&self,
other: &BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder
) -> bool
fn eq( &self, other: &BucketCountPolicyAllowsUnencryptedObjectUploadsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.