public void setObjectCountByEncryptionType(ObjectCountByEncryptionType objectCountByEncryptionType) {
        this.objectCountByEncryptionType = objectCountByEncryptionType;
    }
<p>
The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that
reports the total number of objects that aren't encrypted or use client-side encryption.
</p>

@param objectCountByEncryptionType
       The total number of objects in the bucket, grouped by server-side encryption type. This includes a
       grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/MatchingBucket.java