Class CfnWebFunctionEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpointMixinProps>
- Enclosing interface:
CfnWebFunctionEndpointMixinProps
@Stability(Stable)
public static final class CfnWebFunctionEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionEndpointMixinProps>
A builder for
CfnWebFunctionEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebFunctionEndpointMixinProps.getAuthType()build()Builds the configured instance.description(String description) Sets the value ofCfnWebFunctionEndpointMixinProps.getDescription()endpointName(String endpointName) Sets the value ofCfnWebFunctionEndpointMixinProps.getEndpointName()endpointType(String endpointType) Sets the value ofCfnWebFunctionEndpointMixinProps.getEndpointType()functionName(String functionName) Sets the value ofCfnWebFunctionEndpointMixinProps.getFunctionName()Sets the value ofCfnWebFunctionEndpointMixinProps.getRegions()revisionWeights(List<? extends Object> revisionWeights) Sets the value ofCfnWebFunctionEndpointMixinProps.getRevisionWeights()revisionWeights(IResolvable revisionWeights) Sets the value ofCfnWebFunctionEndpointMixinProps.getRevisionWeights()Sets the value ofCfnWebFunctionEndpointMixinProps.getScalingConfig()scalingConfig(IResolvable scalingConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getScalingConfig()Sets the value ofCfnWebFunctionEndpointMixinProps.getThrottleConfig()throttleConfig(IResolvable throttleConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getThrottleConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
Sets the value ofCfnWebFunctionEndpointMixinProps.getAuthType()- Parameters:
authType- The authentication type for the endpoint.- Returns:
this
-
description
Sets the value ofCfnWebFunctionEndpointMixinProps.getDescription()- Parameters:
description- A description of the endpoint.- Returns:
this
-
endpointName
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder endpointName(String endpointName) Sets the value ofCfnWebFunctionEndpointMixinProps.getEndpointName()- Parameters:
endpointName- The name of the endpoint.- Returns:
this
-
endpointType
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder endpointType(String endpointType) Sets the value ofCfnWebFunctionEndpointMixinProps.getEndpointType()- Parameters:
endpointType- The type of the endpoint.- Returns:
this
-
functionName
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder functionName(String functionName) Sets the value ofCfnWebFunctionEndpointMixinProps.getFunctionName()- Parameters:
functionName- The name of the web function this endpoint belongs to. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.- Returns:
this
-
regions
Sets the value ofCfnWebFunctionEndpointMixinProps.getRegions()- Parameters:
regions- The list of AWS Regions for the endpoint.- Returns:
this
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder revisionWeights(IResolvable revisionWeights) Sets the value ofCfnWebFunctionEndpointMixinProps.getRevisionWeights()- Parameters:
revisionWeights- List of revision routing entries. 1 or 2 entries. With 1 entry, weight must be 100. With 2 entries, weights must sum to 100.- Returns:
this
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder revisionWeights(List<? extends Object> revisionWeights) Sets the value ofCfnWebFunctionEndpointMixinProps.getRevisionWeights()- Parameters:
revisionWeights- List of revision routing entries. 1 or 2 entries. With 1 entry, weight must be 100. With 2 entries, weights must sum to 100.- Returns:
this
-
scalingConfig
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder scalingConfig(IResolvable scalingConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getScalingConfig()- Parameters:
scalingConfig- The scaling configuration for the endpoint. Optionally constrains how many concurrent execution environments the endpoint can use, in addition to your account's vCPU quota.- Returns:
this
-
scalingConfig
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder scalingConfig(CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty scalingConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getScalingConfig()- Parameters:
scalingConfig- The scaling configuration for the endpoint. Optionally constrains how many concurrent execution environments the endpoint can use, in addition to your account's vCPU quota.- Returns:
this
-
throttleConfig
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder throttleConfig(IResolvable throttleConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getThrottleConfig()- Parameters:
throttleConfig- The throttling configuration for the endpoint. Optionally constrains the request rate that the endpoint accepts, in addition to your account's rate limit quota.- Returns:
this
-
throttleConfig
@Stability(Stable) public CfnWebFunctionEndpointMixinProps.Builder throttleConfig(CfnWebFunctionEndpointPropsMixin.ThrottleConfigProperty throttleConfig) Sets the value ofCfnWebFunctionEndpointMixinProps.getThrottleConfig()- Parameters:
throttleConfig- The throttling configuration for the endpoint. Optionally constrains the request rate that the endpoint accepts, in addition to your account's rate limit quota.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionEndpointMixinProps>- Returns:
- a new instance of
CfnWebFunctionEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-