Class BucketCountPolicyAllowsUnencryptedObjectUploads
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<BucketCountPolicyAllowsUnencryptedObjectUploads.Builder,BucketCountPolicyAllowsUnencryptedObjectUploads> 
Provides information about the number of S3 buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface - 
Method Summary
Modifier and TypeMethodDescriptionfinal LongThe 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.builder()final LongThe total number of buckets whose bucket policies require server-side encryption of new objects.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends BucketCountPolicyAllowsUnencryptedObjectUploads.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Longunknown()The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
allowsUnencryptedObjectUploads
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.
- Returns:
 - 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.
 
 - 
deniesUnencryptedObjectUploads
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.
- Returns:
 - 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.
 
 - 
unknown
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.
- Returns:
 - 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.
 
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<BucketCountPolicyAllowsUnencryptedObjectUploads.Builder,BucketCountPolicyAllowsUnencryptedObjectUploads> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
public static Class<? extends BucketCountPolicyAllowsUnencryptedObjectUploads.Builder> serializableBuilderClass() - 
hashCode
public final int hashCode() - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin interfaceSdkPojo- Parameters:
 obj- the object to be compared with- Returns:
 - true if the other object equals to this object by sdk fields, false otherwise.
 
 - 
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. - 
getValueForField
 - 
sdkFields
 
 -