Class StorageBucketCors.Jsii$Proxy

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(StorageBucketCors.Builder builder)
      Constructor that initializes the object based on literal property values passed by the StorageBucketCors.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode $jsii$toJson()  
      boolean equals​(Object o)  
      Number getMaxAgeSeconds()
      The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
      List<String> getMethod()
      The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
      List<String> getOrigin()
      The list of Origins eligible to receive CORS response headers.
      List<String> getResponseHeader()
      The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • Constructor Detail

      • 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.
    • Method Detail

      • getMaxAgeSeconds

        public final Number getMaxAgeSeconds()
        Description copied from interface: StorageBucketCors
        The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#max_age_seconds StorageBucket#max_age_seconds}

        Specified by:
        getMaxAgeSeconds in interface StorageBucketCors
      • getMethod

        public final List<String> getMethod()
        Description copied from interface: StorageBucketCors
        The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#method StorageBucket#method}

        Specified by:
        getMethod in interface StorageBucketCors
      • getOrigin

        public final List<String> getOrigin()
        Description copied from interface: StorageBucketCors
        The list of Origins eligible to receive CORS response headers.

        Note: "*" is permitted in the list of origins, and means "any Origin". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#origin StorageBucket#origin}

        Specified by:
        getOrigin in interface StorageBucketCors
      • getResponseHeader

        public final List<String> getResponseHeader()
        Description copied from interface: StorageBucketCors
        The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#response_header StorageBucket#response_header}

        Specified by:
        getResponseHeader in interface StorageBucketCors
      • $jsii$toJson

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

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