@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 with customer-provided keys.
|
Long |
getKmsManaged()
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer
managed keys.
|
Long |
getS3Managed()
The total number of objects that are encrypted with Amazon S3 managed keys.
|
Long |
getUnencrypted()
The total number of objects that use client-side encryption or aren't encrypted.
|
Long |
getUnknown()
The total number of objects that Amazon Macie doesn't have current encryption metadata for.
|
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 with customer-provided keys.
|
void |
setKmsManaged(Long kmsManaged)
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer
managed keys.
|
void |
setS3Managed(Long s3Managed)
The total number of objects that are encrypted with Amazon S3 managed keys.
|
void |
setUnencrypted(Long unencrypted)
The total number of objects that use client-side encryption or aren't encrypted.
|
void |
setUnknown(Long unknown)
The total number of objects that Amazon Macie doesn't have current encryption metadata for.
|
String |
toString()
Returns a string representation of this object.
|
ObjectCountByEncryptionType |
withCustomerManaged(Long customerManaged)
The total number of objects that are encrypted with customer-provided keys.
|
ObjectCountByEncryptionType |
withKmsManaged(Long kmsManaged)
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer
managed keys.
|
ObjectCountByEncryptionType |
withS3Managed(Long s3Managed)
The total number of objects that are encrypted with Amazon S3 managed keys.
|
ObjectCountByEncryptionType |
withUnencrypted(Long unencrypted)
The total number of objects that use client-side encryption or aren't encrypted.
|
ObjectCountByEncryptionType |
withUnknown(Long unknown)
The total number of objects that Amazon Macie doesn't have current encryption metadata for.
|
public void setCustomerManaged(Long customerManaged)
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
customerManaged
- The total number of objects that are encrypted with customer-provided keys. The objects use server-side
encryption with customer-provided keys (SSE-C).public Long getCustomerManaged()
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
public ObjectCountByEncryptionType withCustomerManaged(Long customerManaged)
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
customerManaged
- The total number of objects that are encrypted with customer-provided keys. The objects use server-side
encryption with customer-provided keys (SSE-C).public void setKmsManaged(Long kmsManaged)
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
kmsManaged
- The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or
customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with
KMS keys (DSSE-KMS or SSE-KMS).public Long getKmsManaged()
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
public ObjectCountByEncryptionType withKmsManaged(Long kmsManaged)
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
kmsManaged
- The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or
customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with
KMS keys (DSSE-KMS or SSE-KMS).public void setS3Managed(Long s3Managed)
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
s3Managed
- The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side
encryption with Amazon S3 managed keys (SSE-S3).public Long getS3Managed()
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
public ObjectCountByEncryptionType withS3Managed(Long s3Managed)
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
s3Managed
- The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side
encryption with Amazon S3 managed keys (SSE-S3).public void setUnencrypted(Long unencrypted)
The total number of objects that use client-side encryption or aren't encrypted.
unencrypted
- The total number of objects that use client-side encryption or aren't encrypted.public Long getUnencrypted()
The total number of objects that use client-side encryption or aren't encrypted.
public ObjectCountByEncryptionType withUnencrypted(Long unencrypted)
The total number of objects that use client-side encryption or aren't encrypted.
unencrypted
- The total number of objects that use client-side encryption or aren't encrypted.public void setUnknown(Long unknown)
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
unknown
- The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't
provide current data about the encryption settings for these objects.public Long getUnknown()
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
public ObjectCountByEncryptionType withUnknown(Long unknown)
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
unknown
- The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't
provide current data about the encryption settings for these objects.public String toString()
toString
in class Object
Object.toString()
public ObjectCountByEncryptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.