Class AppEngineFlexibleAppVersionHandlers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_flexible_app_version.AppEngineFlexibleAppVersionHandlers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlers>
- Enclosing interface:
- AppEngineFlexibleAppVersionHandlers
@Stability(Stable) public static final class AppEngineFlexibleAppVersionHandlers.Builder extends Object implements software.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlers>
A builder forAppEngineFlexibleAppVersionHandlers
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
authFailAction
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder authFailAction(String authFailAction)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getAuthFailAction()- Parameters:
authFailAction- Actions to take when the user is not logged in. Possible values: ["AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#auth_fail_action AppEngineFlexibleAppVersion#auth_fail_action}- Returns:
this
-
login
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder login(String login)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getLogin()- Parameters:
login- Methods to restrict access to a URL based on login status. Possible values: ["LOGIN_OPTIONAL", "LOGIN_ADMIN", "LOGIN_REQUIRED"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#login AppEngineFlexibleAppVersion#login}- Returns:
this
-
redirectHttpResponseCode
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder redirectHttpResponseCode(String redirectHttpResponseCode)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getRedirectHttpResponseCode()- Parameters:
redirectHttpResponseCode- 30x code to use when performing redirects for the secure field. Possible values: ["REDIRECT_HTTP_RESPONSE_CODE_301", "REDIRECT_HTTP_RESPONSE_CODE_302", "REDIRECT_HTTP_RESPONSE_CODE_303", "REDIRECT_HTTP_RESPONSE_CODE_307"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#redirect_http_response_code AppEngineFlexibleAppVersion#redirect_http_response_code}- Returns:
this
-
script
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder script(AppEngineFlexibleAppVersionHandlersScript script)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getScript()- Parameters:
script- script block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#script AppEngineFlexibleAppVersion#script}- Returns:
this
-
securityLevel
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder securityLevel(String securityLevel)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getSecurityLevel()- Parameters:
securityLevel- Security (HTTPS) enforcement for this URL. Possible values: ["SECURE_DEFAULT", "SECURE_NEVER", "SECURE_OPTIONAL", "SECURE_ALWAYS"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#security_level AppEngineFlexibleAppVersion#security_level}- Returns:
this
-
staticFiles
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder staticFiles(AppEngineFlexibleAppVersionHandlersStaticFiles staticFiles)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getStaticFiles()- Parameters:
staticFiles- static_files block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#static_files AppEngineFlexibleAppVersion#static_files}- Returns:
this
-
urlRegex
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers.Builder urlRegex(String urlRegex)
Sets the value ofAppEngineFlexibleAppVersionHandlers.getUrlRegex()- Parameters:
urlRegex- URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#url_regex AppEngineFlexibleAppVersion#url_regex}- Returns:
this
-
build
@Stability(Stable) public AppEngineFlexibleAppVersionHandlers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineFlexibleAppVersionHandlers>- Returns:
- a new instance of
AppEngineFlexibleAppVersionHandlers - Throws:
NullPointerException- if any required attribute was not provided
-
-