@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 that use certain types of server-side encryption by default or don't encrypt new objects by default. 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 that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt
new objects by default.
|
Long |
getS3Managed()
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default.
|
Long |
getUnencrypted()
The total number of buckets that don't encrypt new objects by default.
|
Long |
getUnknown()
The total number of buckets that Amazon Macie doesn't have current encryption metadata for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKmsManaged(Long kmsManaged)
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt
new objects by default.
|
void |
setS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default.
|
void |
setUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt new objects by default.
|
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 that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt
new objects by default.
|
BucketCountByEncryptionType |
withS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default.
|
BucketCountByEncryptionType |
withUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt new objects by default.
|
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 that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
kmsManaged - The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
public Long getKmsManaged()
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
public BucketCountByEncryptionType withKmsManaged(Long kmsManaged)
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
kmsManaged - The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.
public void setS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These buckets use Amazon S3 managed encryption (SSE-S3) by default.
s3Managed - The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These
buckets use Amazon S3 managed encryption (SSE-S3) by default.public Long getS3Managed()
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These buckets use Amazon S3 managed encryption (SSE-S3) by default.
public BucketCountByEncryptionType withS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These buckets use Amazon S3 managed encryption (SSE-S3) by default.
s3Managed - The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These
buckets use Amazon S3 managed encryption (SSE-S3) by default.public void setUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for these buckets.
unencrypted - The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for
these buckets.public Long getUnencrypted()
The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for these buckets.
public BucketCountByEncryptionType withUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for these buckets.
unencrypted - The total number of buckets that don't encrypt new objects by default. Default encryption is disabled 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 ObjectObject.toString()public BucketCountByEncryptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.