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