@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.
| 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.
|
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.
|
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.
|
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).
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).
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).
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).
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).
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).
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).
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).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).
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).
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).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 String toString()
toString in class ObjectObject.toString()public BucketCountByEncryptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.