Package com.pulumi.aws.lambda.outputs
Class FunctionUrlCors.Builder
- java.lang.Object
-
- com.pulumi.aws.lambda.outputs.FunctionUrlCors.Builder
-
- Enclosing class:
- FunctionUrlCors
public static final class FunctionUrlCors.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FunctionUrlCors defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionUrlCors.Builder
allowCredentials(java.lang.Boolean allowCredentials)
FunctionUrlCors.Builder
allowHeaders(java.lang.String... allowHeaders)
FunctionUrlCors.Builder
allowHeaders(java.util.List<java.lang.String> allowHeaders)
FunctionUrlCors.Builder
allowMethods(java.lang.String... allowMethods)
FunctionUrlCors.Builder
allowMethods(java.util.List<java.lang.String> allowMethods)
FunctionUrlCors.Builder
allowOrigins(java.lang.String... allowOrigins)
FunctionUrlCors.Builder
allowOrigins(java.util.List<java.lang.String> allowOrigins)
FunctionUrlCors
build()
FunctionUrlCors.Builder
exposeHeaders(java.lang.String... exposeHeaders)
FunctionUrlCors.Builder
exposeHeaders(java.util.List<java.lang.String> exposeHeaders)
FunctionUrlCors.Builder
maxAge(java.lang.Integer maxAge)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FunctionUrlCors defaults)
-
-
Method Detail
-
allowCredentials
public FunctionUrlCors.Builder allowCredentials(@Nullable java.lang.Boolean allowCredentials)
-
allowHeaders
public FunctionUrlCors.Builder allowHeaders(@Nullable java.util.List<java.lang.String> allowHeaders)
-
allowHeaders
public FunctionUrlCors.Builder allowHeaders(java.lang.String... allowHeaders)
-
allowMethods
public FunctionUrlCors.Builder allowMethods(@Nullable java.util.List<java.lang.String> allowMethods)
-
allowMethods
public FunctionUrlCors.Builder allowMethods(java.lang.String... allowMethods)
-
allowOrigins
public FunctionUrlCors.Builder allowOrigins(@Nullable java.util.List<java.lang.String> allowOrigins)
-
allowOrigins
public FunctionUrlCors.Builder allowOrigins(java.lang.String... allowOrigins)
-
exposeHeaders
public FunctionUrlCors.Builder exposeHeaders(@Nullable java.util.List<java.lang.String> exposeHeaders)
-
exposeHeaders
public FunctionUrlCors.Builder exposeHeaders(java.lang.String... exposeHeaders)
-
maxAge
public FunctionUrlCors.Builder maxAge(@Nullable java.lang.Integer maxAge)
-
build
public FunctionUrlCors build()
-
-