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