public static final class BucketAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketAttributes
BucketAttributes
BucketAttributes.Builder, BucketAttributes.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.String |
getAccount()
The account this existing bucket belongs to.
|
java.lang.String |
getBucketArn()
The ARN of the bucket.
|
java.lang.String |
getBucketDomainName()
The domain name of the bucket.
|
java.lang.String |
getBucketDualStackDomainName()
The IPv6 DNS name of the specified bucket.
|
java.lang.String |
getBucketName()
The name of the bucket.
|
java.lang.String |
getBucketRegionalDomainName()
The regional domain name of the specified bucket.
|
java.lang.Boolean |
getBucketWebsiteNewUrlFormat()
The format of the website URL of the bucket.
|
java.lang.String |
getBucketWebsiteUrl()
The website URL of the bucket (if static web hosting is enabled).
|
IKey |
getEncryptionKey() |
java.lang.Boolean |
getIsWebsite()
If this bucket has been configured for static website hosting.
|
IRole |
getNotificationsHandlerRole()
The role to be used by the notifications handler.
|
java.lang.String |
getRegion()
The region this existing bucket is in.
|
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.String getAccount()
BucketAttributes
Default: - it's assumed the bucket belongs to the same account as the scope it's being imported into
getAccount
in interface BucketAttributes
public final java.lang.String getBucketArn()
BucketAttributes
At least one of bucketArn or bucketName must be defined in order to initialize a bucket ref.
getBucketArn
in interface BucketAttributes
public final java.lang.String getBucketDomainName()
BucketAttributes
Default: Inferred from bucket name
getBucketDomainName
in interface BucketAttributes
public final java.lang.String getBucketDualStackDomainName()
BucketAttributes
getBucketDualStackDomainName
in interface BucketAttributes
public final java.lang.String getBucketName()
BucketAttributes
If the underlying value of ARN is a string, the name will be parsed from the ARN. Otherwise, the name is optional, but some features that require the bucket name such as auto-creating a bucket policy, won't work.
getBucketName
in interface BucketAttributes
public final java.lang.String getBucketRegionalDomainName()
BucketAttributes
getBucketRegionalDomainName
in interface BucketAttributes
public final java.lang.Boolean getBucketWebsiteNewUrlFormat()
BucketAttributes
This should be true for regions launched since 2014.
Default: false
getBucketWebsiteNewUrlFormat
in interface BucketAttributes
public final java.lang.String getBucketWebsiteUrl()
BucketAttributes
Default: Inferred from bucket name
getBucketWebsiteUrl
in interface BucketAttributes
public final IKey getEncryptionKey()
getEncryptionKey
in interface BucketAttributes
public final java.lang.Boolean getIsWebsite()
BucketAttributes
Default: false
getIsWebsite
in interface BucketAttributes
public final IRole getNotificationsHandlerRole()
BucketAttributes
Default: - a new role will be created.
getNotificationsHandlerRole
in interface BucketAttributes
public final java.lang.String getRegion()
BucketAttributes
Default: - it's assumed the bucket is in the same region as the scope it's being imported into
getRegion
in interface BucketAttributes
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()