Class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
@Stability(Stable) @Internal public static final class NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
An implementation forNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
-
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.network_services_edge_cache_service.NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Builder, NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.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)ObjectgetAllowCredentials()In response to a preflight request, setting this to true indicates that the actual request can include user credentials.List<String>getAllowHeaders()Specifies the content for the Access-Control-Allow-Headers response header.List<String>getAllowMethods()Specifies the content for the Access-Control-Allow-Methods response header.List<String>getAllowOrigins()Specifies the list of origins that will be allowed to do CORS requests.ObjectgetDisabled()If true, specifies the CORS policy is disabled.List<String>getExposeHeaders()Specifies the content for the Access-Control-Allow-Headers response header.StringgetMaxAge()Specifies how long results of a preflight request can be cached by a client in seconds.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(NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy.Builder.
-
-
Method Detail
-
getMaxAge
public final String getMaxAge()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicySpecifies how long results of a preflight request can be cached by a client in seconds.Note that many browser clients enforce a maximum TTL of 600s (10 minutes). * Setting the value to -1 forces a pre-flight check for all requests (not recommended) * A maximum TTL of 86400s can be set, but note that (as above) some clients may force pre-flight checks at a more regular interval. * This translates to the Access-Control-Max-Age header. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#max_age NetworkServicesEdgeCacheService#max_age}
- Specified by:
getMaxAgein interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getAllowCredentials
public final Object getAllowCredentials()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyIn response to a preflight request, setting this to true indicates that the actual request can include user credentials.This translates to the Access-Control-Allow-Credentials response header. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#allow_credentials NetworkServicesEdgeCacheService#allow_credentials}
- Specified by:
getAllowCredentialsin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getAllowHeaders
public final List<String> getAllowHeaders()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicySpecifies the content for the Access-Control-Allow-Headers response header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#allow_headers NetworkServicesEdgeCacheService#allow_headers}
- Specified by:
getAllowHeadersin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getAllowMethods
public final List<String> getAllowMethods()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicySpecifies the content for the Access-Control-Allow-Methods response header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#allow_methods NetworkServicesEdgeCacheService#allow_methods}
- Specified by:
getAllowMethodsin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getAllowOrigins
public final List<String> getAllowOrigins()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicySpecifies the list of origins that will be allowed to do CORS requests.This translates to the Access-Control-Allow-Origin response header. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#allow_origins NetworkServicesEdgeCacheService#allow_origins}
- Specified by:
getAllowOriginsin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getDisabled
public final Object getDisabled()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyIf true, specifies the CORS policy is disabled.The default value is false, which indicates that the CORS policy is in effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#disabled NetworkServicesEdgeCacheService#disabled}
- Specified by:
getDisabledin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
getExposeHeaders
public final List<String> getExposeHeaders()
Description copied from interface:NetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicySpecifies the content for the Access-Control-Allow-Headers response header.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#expose_headers NetworkServicesEdgeCacheService#expose_headers}
- Specified by:
getExposeHeadersin interfaceNetworkServicesEdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-