Class CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rtbfabric.CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty>
- Enclosing interface:
CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty
@Stability(Stable)
public static final class CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.loggingTypes(List<String> loggingTypes) responseLoggingPercentage(Number responseLoggingPercentage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder action(String action) - Parameters:
action- the value to be set. This parameter is required.- Returns:
this
-
httpCode
@Stability(Stable) public CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder httpCode(String httpCode) - Parameters:
httpCode- the value to be set. This parameter is required.- Returns:
this
-
loggingTypes
@Stability(Stable) public CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder loggingTypes(List<String> loggingTypes) Sets the value ofCfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.getLoggingTypes()- Parameters:
loggingTypes- the value to be set. This parameter is required.- Returns:
this
-
responseLoggingPercentage
@Stability(Stable) public CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.Builder responseLoggingPercentage(Number responseLoggingPercentage) Sets the value ofCfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty.getResponseLoggingPercentage()- Parameters:
responseLoggingPercentage- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty>- Returns:
- a new instance of
CfnOutboundExternalLink.ResponderErrorMaskingForHttpCodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-