@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 or don't encrypt 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) by default
to encrypt objects.
|
Long |
getS3Managed()
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects.
|
Long |
getUnencrypted()
The total number of buckets that don't encrypt objects by default.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKmsManaged(Long kmsManaged)
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default
to encrypt objects.
|
void |
setS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects.
|
void |
setUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt 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) by default
to encrypt objects.
|
BucketCountByEncryptionType |
withS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects.
|
BucketCountByEncryptionType |
withUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt 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) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
kmsManaged - The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
public Long getKmsManaged()
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
public BucketCountByEncryptionType withKmsManaged(Long kmsManaged)
The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
kmsManaged - The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) by default to encrypt objects. These buckets use AWS managed AWS KMS (AWS-KMS) encryption or customer managed AWS KMS (SSE-KMS) encryption.
public void setS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects. These buckets use Amazon S3 managed (SSE-S3) encryption.
s3Managed - The total number of buckets that use an Amazon S3 managed key by default to encrypt objects. These buckets
use Amazon S3 managed (SSE-S3) encryption.public Long getS3Managed()
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects. These buckets use Amazon S3 managed (SSE-S3) encryption.
public BucketCountByEncryptionType withS3Managed(Long s3Managed)
The total number of buckets that use an Amazon S3 managed key by default to encrypt objects. These buckets use Amazon S3 managed (SSE-S3) encryption.
s3Managed - The total number of buckets that use an Amazon S3 managed key by default to encrypt objects. These buckets
use Amazon S3 managed (SSE-S3) encryption.public void setUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.
unencrypted - The total number of buckets that don't encrypt objects by default. Default encryption is disabled for
these buckets.public Long getUnencrypted()
The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.
public BucketCountByEncryptionType withUnencrypted(Long unencrypted)
The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.
unencrypted - The total number of buckets that don't encrypt 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.