Class CfnTargetGroupPropsMixin.MatcherProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnTargetGroupPropsMixin.MatcherProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetGroupPropsMixin.MatcherProperty>
- Enclosing interface:
CfnTargetGroupPropsMixin.MatcherProperty
@Stability(Stable)
public static final class CfnTargetGroupPropsMixin.MatcherProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetGroupPropsMixin.MatcherProperty>
A builder for
CfnTargetGroupPropsMixin.MatcherProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTargetGroupPropsMixin.MatcherProperty.getHttpCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpCode
@Stability(Stable) public CfnTargetGroupPropsMixin.MatcherProperty.Builder httpCode(String httpCode) Sets the value ofCfnTargetGroupPropsMixin.MatcherProperty.getHttpCode()- Parameters:
httpCode- The HTTP code to use when checking for a successful response from a target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTargetGroupPropsMixin.MatcherProperty>- Returns:
- a new instance of
CfnTargetGroupPropsMixin.MatcherProperty - Throws:
NullPointerException- if any required attribute was not provided
-