Class CfnService.VpcLatticeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.VpcLatticeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.VpcLatticeConfigurationProperty>
- Enclosing interface:
CfnService.VpcLatticeConfigurationProperty
@Stability(Stable)
public static final class CfnService.VpcLatticeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.VpcLatticeConfigurationProperty>
A builder for
CfnService.VpcLatticeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.VpcLatticeConfigurationProperty.getPortName()Sets the value ofCfnService.VpcLatticeConfigurationProperty.getRoleArn()targetGroupArn(String targetGroupArn) Sets the value ofCfnService.VpcLatticeConfigurationProperty.getTargetGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
portName
@Stability(Stable) public CfnService.VpcLatticeConfigurationProperty.Builder portName(String portName) Sets the value ofCfnService.VpcLatticeConfigurationProperty.getPortName()- Parameters:
portName- the value to be set. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnService.VpcLatticeConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnService.VpcLatticeConfigurationProperty.getRoleArn()- Parameters:
roleArn- the value to be set. This parameter is required.- Returns:
this
-
targetGroupArn
@Stability(Stable) public CfnService.VpcLatticeConfigurationProperty.Builder targetGroupArn(String targetGroupArn) Sets the value ofCfnService.VpcLatticeConfigurationProperty.getTargetGroupArn()- Parameters:
targetGroupArn- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.VpcLatticeConfigurationProperty>- Returns:
- a new instance of
CfnService.VpcLatticeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-