Class AppEngineStandardAppVersionHandlersStaticFiles.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_standard_app_version.AppEngineStandardAppVersionHandlersStaticFiles.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineStandardAppVersionHandlersStaticFiles>
- Enclosing interface:
- AppEngineStandardAppVersionHandlersStaticFiles
@Stability(Stable) public static final class AppEngineStandardAppVersionHandlersStaticFiles.Builder extends Object implements software.amazon.jsii.Builder<AppEngineStandardAppVersionHandlersStaticFiles>
A builder forAppEngineStandardAppVersionHandlersStaticFiles
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
applicationReadable
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder applicationReadable(Boolean applicationReadable)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#application_readable AppEngineStandardAppVersion#application_readable}- Returns:
this
-
applicationReadable
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder applicationReadable(com.hashicorp.cdktf.IResolvable applicationReadable)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#application_readable AppEngineStandardAppVersion#application_readable}- Returns:
this
-
expiration
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder expiration(String expiration)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_standard_app_version#expiration AppEngineStandardAppVersion#expiration}- Returns:
this
-
httpHeaders
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder httpHeaders(Map<String,String> httpHeaders)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#http_headers AppEngineStandardAppVersion#http_headers}- Returns:
this
-
mimeType
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder mimeType(String mimeType)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#mime_type AppEngineStandardAppVersion#mime_type}- Returns:
this
-
path
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder path(String path)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#path AppEngineStandardAppVersion#path}- Returns:
this
-
requireMatchingFile
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder requireMatchingFile(Boolean requireMatchingFile)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#require_matching_file AppEngineStandardAppVersion#require_matching_file}- Returns:
this
-
requireMatchingFile
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder requireMatchingFile(com.hashicorp.cdktf.IResolvable requireMatchingFile)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#require_matching_file AppEngineStandardAppVersion#require_matching_file}- Returns:
this
-
uploadPathRegex
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles.Builder uploadPathRegex(String uploadPathRegex)
Sets the value ofAppEngineStandardAppVersionHandlersStaticFiles.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_standard_app_version#upload_path_regex AppEngineStandardAppVersion#upload_path_regex}- Returns:
this
-
build
@Stability(Stable) public AppEngineStandardAppVersionHandlersStaticFiles build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineStandardAppVersionHandlersStaticFiles>- Returns:
- a new instance of
AppEngineStandardAppVersionHandlersStaticFiles - Throws:
NullPointerException- if any required attribute was not provided
-
-