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 a customer-provided key.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 an KMS key, either an Amazon Web Services managed key or a customer managed key.Longs3Managed()The total number of objects that are encrypted with an Amazon S3 managed key.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 a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
- Returns:
- The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
-
kmsManaged
public final Long kmsManaged()
The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).
- Returns:
- The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).
-
s3Managed
public final Long s3Managed()
The total number of objects that are encrypted with an Amazon S3 managed key. The objects use Amazon S3 managed encryption (SSE-S3).
- Returns:
- The total number of objects that are encrypted with an Amazon S3 managed key. The objects use Amazon S3 managed encryption (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.
-
-