Class StorageBucketCors.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketCors.Jsii$Proxy
-
- All Implemented Interfaces:
StorageBucketCors,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StorageBucketCors
@Stability(Stable) @Internal public static final class StorageBucketCors.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StorageBucketCors
An implementation forStorageBucketCors
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketCors
StorageBucketCors.Builder, StorageBucketCors.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StorageBucketCors.Builder builder)Constructor that initializes the object based on literal property values passed by theStorageBucketCors.Builder.protectedJsii$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()booleanequals(Object o)NumbergetMaxAgeSeconds()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.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(StorageBucketCors.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageBucketCors.Builder.
-
-
Method Detail
-
getMaxAgeSeconds
public final Number getMaxAgeSeconds()
Description copied from interface:StorageBucketCorsThe 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:
getMaxAgeSecondsin interfaceStorageBucketCors
-
getMethod
public final List<String> getMethod()
Description copied from interface:StorageBucketCorsThe 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:
getMethodin interfaceStorageBucketCors
-
getOrigin
public final List<String> getOrigin()
Description copied from interface:StorageBucketCorsThe 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:
getOriginin interfaceStorageBucketCors
-
getResponseHeader
public final List<String> getResponseHeader()
Description copied from interface:StorageBucketCorsThe 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:
getResponseHeaderin interfaceStorageBucketCors
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-