@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketCountByEncryptionType extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the number of S3 buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets in the Amazon Simple Storage Service User Guide.
Constructor and Description |
---|
BucketCountByEncryptionType() |
Modifier and Type | Method and Description |
---|---|
BucketCountByEncryptionType |
clone() |
boolean |
equals(Object obj) |
Long |
getKmsManaged()
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS
key, either an Amazon Web Services managed key or a customer managed key.
|
Long |
getS3Managed()
The total number of buckets whose default encryption settings are configured to encrypt new objects with an
Amazon S3 managed key.
|
Long |
getUnencrypted()
The total number of buckets that don't specify default server-side encryption behavior for new objects.
|
Long |
getUnknown()
The total number of buckets 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 |
setKmsManaged(Long kmsManaged)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS
key, either an Amazon Web Services managed key or a customer managed key.
|
void |
setS3Managed(Long s3Managed)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an
Amazon S3 managed key.
|
void |
setUnencrypted(Long unencrypted)
The total number of buckets that don't specify default server-side encryption behavior for new objects.
|
void |
setUnknown(Long unknown)
The total number of buckets that Amazon Macie doesn't have current encryption metadata for.
|
String |
toString()
Returns a string representation of this object.
|
BucketCountByEncryptionType |
withKmsManaged(Long kmsManaged)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS
key, either an Amazon Web Services managed key or a customer managed key.
|
BucketCountByEncryptionType |
withS3Managed(Long s3Managed)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an
Amazon S3 managed key.
|
BucketCountByEncryptionType |
withUnencrypted(Long unencrypted)
The total number of buckets that don't specify default server-side encryption behavior for new objects.
|
BucketCountByEncryptionType |
withUnknown(Long unknown)
The total number of buckets that Amazon Macie doesn't have current encryption metadata for.
|
public void setKmsManaged(Long kmsManaged)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.
kmsManaged
- The total number of buckets whose default encryption settings are configured to encrypt new objects with
an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets
encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.public Long getKmsManaged()
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.
public BucketCountByEncryptionType withKmsManaged(Long kmsManaged)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.
kmsManaged
- The total number of buckets whose default encryption settings are configured to encrypt new objects with
an KMS key, either an Amazon Web Services managed key or a customer managed key. By default, these buckets
encrypt new objects automatically using DSSE-KMS or SSE-KMS encryption.public void setS3Managed(Long s3Managed)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
s3Managed
- The total number of buckets whose default encryption settings are configured to encrypt new objects with
an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3
encryption.public Long getS3Managed()
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
public BucketCountByEncryptionType withS3Managed(Long s3Managed)
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
s3Managed
- The total number of buckets whose default encryption settings are configured to encrypt new objects with
an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3
encryption.public void setUnencrypted(Long unencrypted)
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
unencrypted
- The total number of buckets that don't specify default server-side encryption behavior for new objects.
Default encryption settings aren't configured for these buckets.public Long getUnencrypted()
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
public BucketCountByEncryptionType withUnencrypted(Long unencrypted)
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
unencrypted
- The total number of buckets that don't specify default server-side encryption behavior for new objects.
Default encryption settings aren't configured for these buckets.public void setUnknown(Long unknown)
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
unknown
- The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't
provide current data about the default encryption settings for these buckets.public Long getUnknown()
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
public BucketCountByEncryptionType withUnknown(Long unknown)
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
unknown
- The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't
provide current data about the default encryption settings for these buckets.public String toString()
toString
in class Object
Object.toString()
public BucketCountByEncryptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.