@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectCountByEncryptionType extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the number of objects that are in an S3 bucket and use certain types of server-side encryption, use client-side encryption, or aren't encrypted.
| Constructor and Description |
|---|
ObjectCountByEncryptionType() |
| Modifier and Type | Method and Description |
|---|---|
ObjectCountByEncryptionType |
clone() |
boolean |
equals(Object obj) |
Long |
getCustomerManaged()
The total number of objects that are encrypted using a customer-managed key.
|
Long |
getKmsManaged()
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key
(CMK).
|
Long |
getS3Managed()
The total number of objects that are encrypted using an Amazon S3 managed key.
|
Long |
getUnencrypted()
The total number of objects that aren't encrypted or use client-side encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCustomerManaged(Long customerManaged)
The total number of objects that are encrypted using a customer-managed key.
|
void |
setKmsManaged(Long kmsManaged)
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key
(CMK).
|
void |
setS3Managed(Long s3Managed)
The total number of objects that are encrypted using an Amazon S3 managed key.
|
void |
setUnencrypted(Long unencrypted)
The total number of objects that aren't encrypted or use client-side encryption.
|
String |
toString()
Returns a string representation of this object.
|
ObjectCountByEncryptionType |
withCustomerManaged(Long customerManaged)
The total number of objects that are encrypted using a customer-managed key.
|
ObjectCountByEncryptionType |
withKmsManaged(Long kmsManaged)
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key
(CMK).
|
ObjectCountByEncryptionType |
withS3Managed(Long s3Managed)
The total number of objects that are encrypted using an Amazon S3 managed key.
|
ObjectCountByEncryptionType |
withUnencrypted(Long unencrypted)
The total number of objects that aren't encrypted or use client-side encryption.
|
public void setCustomerManaged(Long customerManaged)
The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.
customerManaged - The total number of objects that are encrypted using a customer-managed key. The objects use
customer-provided server-side (SSE-C) encryption.public Long getCustomerManaged()
The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.
public ObjectCountByEncryptionType withCustomerManaged(Long customerManaged)
The total number of objects that are encrypted using a customer-managed key. The objects use customer-provided server-side (SSE-C) encryption.
customerManaged - The total number of objects that are encrypted using a customer-managed key. The objects use
customer-provided server-side (SSE-C) encryption.public void setKmsManaged(Long kmsManaged)
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
kmsManaged - The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer
master key (CMK). The objects use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS
(SSE-KMS) encryption.public Long getKmsManaged()
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
public ObjectCountByEncryptionType withKmsManaged(Long kmsManaged)
The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
kmsManaged - The total number of objects that are encrypted using an AWS Key Management Service (AWS KMS) customer
master key (CMK). The objects use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS
(SSE-KMS) encryption.public void setS3Managed(Long s3Managed)
The total number of objects that are encrypted using an Amazon S3 managed key. The objects use Amazon S3 managed (SSE-S3) encryption.
s3Managed - The total number of objects that are encrypted using an Amazon S3 managed key. The objects use Amazon S3
managed (SSE-S3) encryption.public Long getS3Managed()
The total number of objects that are encrypted using an Amazon S3 managed key. The objects use Amazon S3 managed (SSE-S3) encryption.
public ObjectCountByEncryptionType withS3Managed(Long s3Managed)
The total number of objects that are encrypted using an Amazon S3 managed key. The objects use Amazon S3 managed (SSE-S3) encryption.
s3Managed - The total number of objects that are encrypted using an Amazon S3 managed key. The objects use Amazon S3
managed (SSE-S3) encryption.public void setUnencrypted(Long unencrypted)
The total number of objects that aren't encrypted or use client-side encryption.
unencrypted - The total number of objects that aren't encrypted or use client-side encryption.public Long getUnencrypted()
The total number of objects that aren't encrypted or use client-side encryption.
public ObjectCountByEncryptionType withUnencrypted(Long unencrypted)
The total number of objects that aren't encrypted or use client-side encryption.
unencrypted - The total number of objects that aren't encrypted or use client-side encryption.public String toString()
toString in class ObjectObject.toString()public ObjectCountByEncryptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.