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