Class ObjectCountByEncryptionType
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.ObjectCountByEncryptionType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ObjectCountByEncryptionType.Builder,ObjectCountByEncryptionType>
@Generated("software.amazon.awssdk:codegen") public final class ObjectCountByEncryptionType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObjectCountByEncryptionType.Builder,ObjectCountByEncryptionType>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceObjectCountByEncryptionType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectCountByEncryptionType.Builderbuilder()LongcustomerManaged()The total number of objects that are encrypted with customer-provided keys.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongkmsManaged()The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys.Longs3Managed()The total number of objects that are encrypted with Amazon S3 managed keys.List<SdkField<?>>sdkFields()static Class<? extends ObjectCountByEncryptionType.Builder>serializableBuilderClass()ObjectCountByEncryptionType.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longunencrypted()The total number of objects that use client-side encryption or aren't encrypted.Longunknown()The total number of objects that Amazon Macie doesn't have current encryption metadata for.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
customerManaged
public final 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).
- Returns:
- The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
-
kmsManaged
public final 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).
- Returns:
- 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).
-
s3Managed
public final 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).
- Returns:
- 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).
-
unencrypted
public final Long unencrypted()
The total number of objects that use client-side encryption or aren't encrypted.
- Returns:
- The total number of objects that use client-side encryption or aren't encrypted.
-
unknown
public final 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.
- Returns:
- 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.
-
toBuilder
public ObjectCountByEncryptionType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ObjectCountByEncryptionType.Builder,ObjectCountByEncryptionType>
-
builder
public static ObjectCountByEncryptionType.Builder builder()
-
serializableBuilderClass
public static Class<? extends ObjectCountByEncryptionType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-