Class VpclatticeTargetGroupAttachmentTarget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.vpclattice_target_group_attachment.VpclatticeTargetGroupAttachmentTarget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpclatticeTargetGroupAttachmentTarget>
- Enclosing interface:
- VpclatticeTargetGroupAttachmentTarget
@Stability(Stable) public static final class VpclatticeTargetGroupAttachmentTarget.Builder extends Object implements software.amazon.jsii.Builder<VpclatticeTargetGroupAttachmentTarget>
A builder forVpclatticeTargetGroupAttachmentTarget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpclatticeTargetGroupAttachmentTargetbuild()Builds the configured instance.VpclatticeTargetGroupAttachmentTarget.Builderid(String id)Sets the value ofVpclatticeTargetGroupAttachmentTarget.getId()VpclatticeTargetGroupAttachmentTarget.Builderport(Number port)Sets the value ofVpclatticeTargetGroupAttachmentTarget.getPort()
-
-
-
Method Detail
-
id
@Stability(Stable) public VpclatticeTargetGroupAttachmentTarget.Builder id(String id)
Sets the value ofVpclatticeTargetGroupAttachmentTarget.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_target_group_attachment#id VpclatticeTargetGroupAttachment#id}. This parameter is required. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
port
@Stability(Stable) public VpclatticeTargetGroupAttachmentTarget.Builder port(Number port)
Sets the value ofVpclatticeTargetGroupAttachmentTarget.getPort()- Parameters:
port- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_target_group_attachment#port VpclatticeTargetGroupAttachment#port}.- Returns:
this
-
build
@Stability(Stable) public VpclatticeTargetGroupAttachmentTarget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpclatticeTargetGroupAttachmentTarget>- Returns:
- a new instance of
VpclatticeTargetGroupAttachmentTarget - Throws:
NullPointerException- if any required attribute was not provided
-
-