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