public static final class CfnBucket.ServerSideEncryptionRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.ServerSideEncryptionRuleProperty
CfnBucket.ServerSideEncryptionRuleProperty
CfnBucket.ServerSideEncryptionRuleProperty.Builder, CfnBucket.ServerSideEncryptionRuleProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getBucketKeyEnabled()
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket.
|
java.lang.Object |
getServerSideEncryptionByDefault()
Specifies the default server-side encryption to apply to new objects in the bucket.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getBucketKeyEnabled()
CfnBucket.ServerSideEncryptionRuleProperty
Existing objects are not affected. Setting the BucketKeyEnabled
element to true
causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide .
getBucketKeyEnabled
in interface CfnBucket.ServerSideEncryptionRuleProperty
public final java.lang.Object getServerSideEncryptionByDefault()
CfnBucket.ServerSideEncryptionRuleProperty
If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
getServerSideEncryptionByDefault
in interface CfnBucket.ServerSideEncryptionRuleProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()