Class CfnFunction.FunctionUrlConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.FunctionUrlConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.FunctionUrlConfigProperty>
- Enclosing interface:
CfnFunction.FunctionUrlConfigProperty
@Stability(Stable)
public static final class CfnFunction.FunctionUrlConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.FunctionUrlConfigProperty>
A builder for
CfnFunction.FunctionUrlConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunction.FunctionUrlConfigProperty.getAuthType()build()Builds the configured instance.Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()cors(IResolvable cors) Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()invokeMode(String invokeMode) Sets the value ofCfnFunction.FunctionUrlConfigProperty.getInvokeMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
Sets the value ofCfnFunction.FunctionUrlConfigProperty.getAuthType()- Parameters:
authType- the value to be set. This parameter is required.- Returns:
this
-
cors
Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()- Parameters:
cors- the value to be set.- Returns:
this
-
cors
Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()- Parameters:
cors- the value to be set.- Returns:
this
-
cors
@Stability(Stable) public CfnFunction.FunctionUrlConfigProperty.Builder cors(CfnFunction.CorsConfigurationProperty cors) Sets the value ofCfnFunction.FunctionUrlConfigProperty.getCors()- Parameters:
cors- the value to be set.- Returns:
this
-
invokeMode
@Stability(Stable) public CfnFunction.FunctionUrlConfigProperty.Builder invokeMode(String invokeMode) Sets the value ofCfnFunction.FunctionUrlConfigProperty.getInvokeMode()- Parameters:
invokeMode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.FunctionUrlConfigProperty>- Returns:
- a new instance of
CfnFunction.FunctionUrlConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-