Class CfnFleetPropsMixin.FleetProxyRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnFleetPropsMixin.FleetProxyRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.FleetProxyRuleProperty>
- Enclosing interface:
CfnFleetPropsMixin.FleetProxyRuleProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.FleetProxyRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.FleetProxyRuleProperty>
A builder for
CfnFleetPropsMixin.FleetProxyRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getEffect()Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getEntities()Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
effect
Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getEffect()- Parameters:
effect- The behavior of the proxy rule.- Returns:
this
-
entities
@Stability(Stable) public CfnFleetPropsMixin.FleetProxyRuleProperty.Builder entities(List<String> entities) Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getEntities()- Parameters:
entities- The destination of the proxy rule.- Returns:
this
-
type
Sets the value ofCfnFleetPropsMixin.FleetProxyRuleProperty.getType()- Parameters:
type- The type of proxy rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.FleetProxyRuleProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.FleetProxyRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-