Class CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLink.ResponderErrorMaskingForHttpCodeProperty>
- Enclosing interface:
CfnLink.ResponderErrorMaskingForHttpCodeProperty
@Stability(Stable)
public static final class CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLink.ResponderErrorMaskingForHttpCodeProperty>
A builder for
CfnLink.ResponderErrorMaskingForHttpCodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getAction()build()Builds the configured instance.Sets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getHttpCode()loggingTypes(List<String> loggingTypes) Sets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getLoggingTypes()responseLoggingPercentage(Number responseLoggingPercentage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder action(String action) Sets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getAction()- Parameters:
action- The action for the error.. This parameter is required.- Returns:
this
-
httpCode
@Stability(Stable) public CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder httpCode(String httpCode) Sets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getHttpCode()- Parameters:
httpCode- The HTTP error code. This parameter is required.- Returns:
this
-
loggingTypes
@Stability(Stable) public CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder loggingTypes(List<String> loggingTypes) Sets the value ofCfnLink.ResponderErrorMaskingForHttpCodeProperty.getLoggingTypes()- Parameters:
loggingTypes- The error log type. This parameter is required.- Returns:
this
-
responseLoggingPercentage
@Stability(Stable) public CfnLink.ResponderErrorMaskingForHttpCodeProperty.Builder responseLoggingPercentage(Number responseLoggingPercentage) - Parameters:
responseLoggingPercentage- The percentage of response logging.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLink.ResponderErrorMaskingForHttpCodeProperty>- Returns:
- a new instance of
CfnLink.ResponderErrorMaskingForHttpCodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-