Class BucketAttributes.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.BucketAttributes.Jsii$Proxy
All Implemented Interfaces:
BucketAttributes, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BucketAttributes

@Stability(Stable) @Internal public static final class BucketAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BucketAttributes
An implementation for BucketAttributes
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BucketAttributes.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BucketAttributes.Builder.
  • Method Details

    • getAccount

      public final String getAccount()
      Description copied from interface: BucketAttributes
      The account this existing bucket belongs to.

      Default: - it's assumed the bucket belongs to the same account as the scope it's being imported into

      Specified by:
      getAccount in interface BucketAttributes
    • getBucketArn

      public final String getBucketArn()
      Description copied from interface: BucketAttributes
      The ARN of the bucket.

      At least one of bucketArn or bucketName must be defined in order to initialize a bucket ref.

      Specified by:
      getBucketArn in interface BucketAttributes
    • getBucketDomainName

      public final String getBucketDomainName()
      Description copied from interface: BucketAttributes
      The domain name of the bucket.

      Default: Inferred from bucket name

      Specified by:
      getBucketDomainName in interface BucketAttributes
    • getBucketDualStackDomainName

      public final String getBucketDualStackDomainName()
      Description copied from interface: BucketAttributes
      The IPv6 DNS name of the specified bucket.
      Specified by:
      getBucketDualStackDomainName in interface BucketAttributes
    • getBucketName

      public final String getBucketName()
      Description copied from interface: BucketAttributes
      The name of the bucket.

      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.

      Specified by:
      getBucketName in interface BucketAttributes
    • getBucketRegionalDomainName

      public final String getBucketRegionalDomainName()
      Description copied from interface: BucketAttributes
      The regional domain name of the specified bucket.
      Specified by:
      getBucketRegionalDomainName in interface BucketAttributes
    • getBucketWebsiteNewUrlFormat

      public final Boolean getBucketWebsiteNewUrlFormat()
      Description copied from interface: BucketAttributes
      The format of the website URL of the bucket.

      This should be true for regions launched since 2014.

      Default: false

      Specified by:
      getBucketWebsiteNewUrlFormat in interface BucketAttributes
    • getBucketWebsiteUrl

      public final String getBucketWebsiteUrl()
      Description copied from interface: BucketAttributes
      The website URL of the bucket (if static web hosting is enabled).

      Default: Inferred from bucket name

      Specified by:
      getBucketWebsiteUrl in interface BucketAttributes
    • getEncryptionKey

      public final IKey getEncryptionKey()
      Specified by:
      getEncryptionKey in interface BucketAttributes
    • getIsWebsite

      public final Boolean getIsWebsite()
      Description copied from interface: BucketAttributes
      If this bucket has been configured for static website hosting.

      Default: false

      Specified by:
      getIsWebsite in interface BucketAttributes
    • getNotificationsHandlerRole

      public final IRole getNotificationsHandlerRole()
      Description copied from interface: BucketAttributes
      The role to be used by the notifications handler.

      Default: - a new role will be created.

      Specified by:
      getNotificationsHandlerRole in interface BucketAttributes
    • getRegion

      public final String getRegion()
      Description copied from interface: BucketAttributes
      The region this existing bucket is in.

      Default: - it's assumed the bucket is in the same region as the scope it's being imported into

      Specified by:
      getRegion in interface BucketAttributes
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object