Package com.pulumi.gcp.appengine.inputs
Class StandardAppVersionHandlerStaticFilesArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.appengine.inputs.StandardAppVersionHandlerStaticFilesArgs.Builder
-
- Enclosing class:
- StandardAppVersionHandlerStaticFilesArgs
public static final class StandardAppVersionHandlerStaticFilesArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(StandardAppVersionHandlerStaticFilesArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(StandardAppVersionHandlerStaticFilesArgs defaults)
-
-
Method Detail
-
applicationReadable
public StandardAppVersionHandlerStaticFilesArgs.Builder applicationReadable(@Nullable com.pulumi.core.Output<java.lang.Boolean> applicationReadable)
- 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.- Returns:
- builder
-
applicationReadable
public StandardAppVersionHandlerStaticFilesArgs.Builder applicationReadable(java.lang.Boolean applicationReadable)
- 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.- Returns:
- builder
-
expiration
public StandardAppVersionHandlerStaticFilesArgs.Builder expiration(@Nullable com.pulumi.core.Output<java.lang.String> expiration)
- 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".- Returns:
- builder
-
expiration
public StandardAppVersionHandlerStaticFilesArgs.Builder expiration(java.lang.String expiration)
- 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".- Returns:
- builder
-
httpHeaders
public StandardAppVersionHandlerStaticFilesArgs.Builder httpHeaders(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> httpHeaders)
- Parameters:
httpHeaders
- HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".- Returns:
- builder
-
httpHeaders
public StandardAppVersionHandlerStaticFilesArgs.Builder httpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders)
- Parameters:
httpHeaders
- HTTP headers to use for all responses from these URLs. An object containing a list of "key:value" value pairs.".- Returns:
- builder
-
mimeType
public StandardAppVersionHandlerStaticFilesArgs.Builder mimeType(@Nullable com.pulumi.core.Output<java.lang.String> mimeType)
- 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.- Returns:
- builder
-
mimeType
public StandardAppVersionHandlerStaticFilesArgs.Builder mimeType(java.lang.String mimeType)
- 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.- Returns:
- builder
-
path
public StandardAppVersionHandlerStaticFilesArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- 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.- Returns:
- builder
-
path
public StandardAppVersionHandlerStaticFilesArgs.Builder path(java.lang.String path)
- 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.- Returns:
- builder
-
requireMatchingFile
public StandardAppVersionHandlerStaticFilesArgs.Builder requireMatchingFile(@Nullable com.pulumi.core.Output<java.lang.Boolean> requireMatchingFile)
- Parameters:
requireMatchingFile
- Whether this handler should match the request if the file referenced by the handler does not exist.- Returns:
- builder
-
requireMatchingFile
public StandardAppVersionHandlerStaticFilesArgs.Builder requireMatchingFile(java.lang.Boolean requireMatchingFile)
- Parameters:
requireMatchingFile
- Whether this handler should match the request if the file referenced by the handler does not exist.- Returns:
- builder
-
uploadPathRegex
public StandardAppVersionHandlerStaticFilesArgs.Builder uploadPathRegex(@Nullable com.pulumi.core.Output<java.lang.String> uploadPathRegex)
- Parameters:
uploadPathRegex
- Regular expression that matches the file paths for all files that should be referenced by this handler.- Returns:
- builder
-
uploadPathRegex
public StandardAppVersionHandlerStaticFilesArgs.Builder uploadPathRegex(java.lang.String uploadPathRegex)
- Parameters:
uploadPathRegex
- Regular expression that matches the file paths for all files that should be referenced by this handler.- Returns:
- builder
-
build
public StandardAppVersionHandlerStaticFilesArgs build()
-
-