Class CfnRule.FixedResponseProperty.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnRule.FixedResponseProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnRule.FixedResponseProperty>
- Enclosing interface:
 - CfnRule.FixedResponseProperty
 
@Stability(Stable)
public static final class CfnRule.FixedResponseProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.FixedResponseProperty>
A builder for 
CfnRule.FixedResponseProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.statusCode(Number statusCode) Sets the value ofCfnRule.FixedResponseProperty.getStatusCode() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
statusCode
Sets the value ofCfnRule.FixedResponseProperty.getStatusCode()- Parameters:
 statusCode- The HTTP response code. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnRule.FixedResponseProperty>- Returns:
 - a new instance of 
CfnRule.FixedResponseProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -