Class CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty>
- Enclosing interface:
CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty
@Stability(Stable)
public static final class CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.getAuthType()build()Builds the configured instance.domainName(String domainName) revisionWeights(List<? extends Object> revisionWeights) revisionWeights(IResolvable revisionWeights) scalingConfig(IResolvable scalingConfig) Sets the value ofCfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.getState()stateReason(String stateReason) throttleConfig(IResolvable throttleConfig) updateStatus(String updateStatus) updateStatusReason(String updateStatusReason)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder authType(String authType) Sets the value ofCfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.getAuthType()- Parameters:
authType- The authentication type for the endpoint.- Returns:
this
-
domainName
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder domainName(String domainName) - Parameters:
domainName- The domain name of the endpoint.- Returns:
this
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder revisionWeights(IResolvable revisionWeights) - Parameters:
revisionWeights- The revision weights for the endpoint.- Returns:
this
-
revisionWeights
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder revisionWeights(List<? extends Object> revisionWeights) - Parameters:
revisionWeights- The revision weights for the endpoint.- Returns:
this
-
scalingConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder scalingConfig(IResolvable scalingConfig) - 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 CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder scalingConfig(CfnWebFunctionEndpointPropsMixin.ScalingConfigProperty scalingConfig) - 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
-
state
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder state(String state) Sets the value ofCfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.getState()- Parameters:
state- The current state of the endpoint.- Returns:
this
-
stateReason
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder stateReason(String stateReason) - Parameters:
stateReason- The reason for the current state of the endpoint.- Returns:
this
-
throttleConfig
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder throttleConfig(IResolvable throttleConfig) - 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 CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder throttleConfig(CfnWebFunctionEndpointPropsMixin.ThrottleConfigProperty throttleConfig) - 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
-
updateStatus
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder updateStatus(String updateStatus) - Parameters:
updateStatus- The status of the most recent update to the endpoint.- Returns:
this
-
updateStatusReason
@Stability(Stable) public CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty.Builder updateStatusReason(String updateStatusReason) - Parameters:
updateStatusReason- The reason for the current update status of the endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty>- Returns:
- a new instance of
CfnWebFunctionEndpointPropsMixin.RegionalEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-