Class AutoscalingTrafficSourceAttachmentTrafficSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.autoscaling_traffic_source_attachment.AutoscalingTrafficSourceAttachmentTrafficSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutoscalingTrafficSourceAttachmentTrafficSource>
- Enclosing interface:
- AutoscalingTrafficSourceAttachmentTrafficSource
@Stability(Stable) public static final class AutoscalingTrafficSourceAttachmentTrafficSource.Builder extends Object implements software.amazon.jsii.Builder<AutoscalingTrafficSourceAttachmentTrafficSource>
A builder forAutoscalingTrafficSourceAttachmentTrafficSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoscalingTrafficSourceAttachmentTrafficSourcebuild()Builds the configured instance.AutoscalingTrafficSourceAttachmentTrafficSource.Builderidentifier(String identifier)Sets the value ofAutoscalingTrafficSourceAttachmentTrafficSource.getIdentifier()AutoscalingTrafficSourceAttachmentTrafficSource.Buildertype(String type)Sets the value ofAutoscalingTrafficSourceAttachmentTrafficSource.getType()
-
-
-
Method Detail
-
identifier
@Stability(Stable) public AutoscalingTrafficSourceAttachmentTrafficSource.Builder identifier(String identifier)
Sets the value ofAutoscalingTrafficSourceAttachmentTrafficSource.getIdentifier()- Parameters:
identifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscaling_traffic_source_attachment#identifier AutoscalingTrafficSourceAttachment#identifier}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public AutoscalingTrafficSourceAttachmentTrafficSource.Builder type(String type)
Sets the value ofAutoscalingTrafficSourceAttachmentTrafficSource.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscaling_traffic_source_attachment#type AutoscalingTrafficSourceAttachment#type}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AutoscalingTrafficSourceAttachmentTrafficSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AutoscalingTrafficSourceAttachmentTrafficSource>- Returns:
- a new instance of
AutoscalingTrafficSourceAttachmentTrafficSource - Throws:
NullPointerException- if any required attribute was not provided
-
-