Class AppEngineFlexibleAppVersionHandlersStaticFiles.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_flexible_app_version.AppEngineFlexibleAppVersionHandlersStaticFiles.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlersStaticFiles>
- Enclosing interface:
- AppEngineFlexibleAppVersionHandlersStaticFiles
@Stability(Stable) public static final class AppEngineFlexibleAppVersionHandlersStaticFiles.Builder extends Object implements software.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlersStaticFiles>
A builder forAppEngineFlexibleAppVersionHandlersStaticFiles
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
applicationReadable
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder applicationReadable(Boolean applicationReadable)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getApplicationReadable()- Parameters:
applicationReadable- Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#application_readable AppEngineFlexibleAppVersion#application_readable}- Returns:
this
-
applicationReadable
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder applicationReadable(com.hashicorp.cdktf.IResolvable applicationReadable)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getApplicationReadable()- Parameters:
applicationReadable- Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#application_readable AppEngineFlexibleAppVersion#application_readable}- Returns:
this
-
expiration
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder expiration(String expiration)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getExpiration()- Parameters:
expiration- Time a static file served by this handler should be cached by web proxies and browsers. A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s". Default is '0s' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#expiration AppEngineFlexibleAppVersion#expiration}- Returns:
this
-
httpHeaders
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder httpHeaders(Map<String,String> httpHeaders)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getHttpHeaders()- Parameters:
httpHeaders- HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#http_headers AppEngineFlexibleAppVersion#http_headers}- Returns:
this
-
mimeType
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder mimeType(String mimeType)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getMimeType()- Parameters:
mimeType- MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#mime_type AppEngineFlexibleAppVersion#mime_type}- Returns:
this
-
path
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder path(String path)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getPath()- Parameters:
path- Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#path AppEngineFlexibleAppVersion#path}- Returns:
this
-
requireMatchingFile
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder requireMatchingFile(Boolean requireMatchingFile)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getRequireMatchingFile()- Parameters:
requireMatchingFile- Whether this handler should match the request if the file referenced by the handler does not exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#require_matching_file AppEngineFlexibleAppVersion#require_matching_file}- Returns:
this
-
requireMatchingFile
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder requireMatchingFile(com.hashicorp.cdktf.IResolvable requireMatchingFile)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getRequireMatchingFile()- Parameters:
requireMatchingFile- Whether this handler should match the request if the file referenced by the handler does not exist. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#require_matching_file AppEngineFlexibleAppVersion#require_matching_file}- Returns:
this
-
uploadPathRegex
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles.Builder uploadPathRegex(String uploadPathRegex)
Sets the value ofAppEngineFlexibleAppVersionHandlersStaticFiles.getUploadPathRegex()- Parameters:
uploadPathRegex- Regular expression that matches the file paths for all files that should be referenced by this handler. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#upload_path_regex AppEngineFlexibleAppVersion#upload_path_regex}- Returns:
this
-
build
@Stability(Stable) public AppEngineFlexibleAppVersionHandlersStaticFiles build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlersStaticFiles>- Returns:
- a new instance of
AppEngineFlexibleAppVersionHandlersStaticFiles - Throws:
NullPointerException- if any required attribute was not provided
-
-