Class LaunchTemplateMetadataOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateMetadataOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateMetadataOptions>
- Enclosing interface:
- LaunchTemplateMetadataOptions
@Stability(Stable) public static final class LaunchTemplateMetadataOptions.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateMetadataOptions>
A builder forLaunchTemplateMetadataOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateMetadataOptionsbuild()Builds the configured instance.LaunchTemplateMetadataOptions.BuilderhttpEndpoint(String httpEndpoint)Sets the value ofLaunchTemplateMetadataOptions.getHttpEndpoint()LaunchTemplateMetadataOptions.BuilderhttpProtocolIpv6(String httpProtocolIpv6)Sets the value ofLaunchTemplateMetadataOptions.getHttpProtocolIpv6()LaunchTemplateMetadataOptions.BuilderhttpPutResponseHopLimit(Number httpPutResponseHopLimit)Sets the value ofLaunchTemplateMetadataOptions.getHttpPutResponseHopLimit()LaunchTemplateMetadataOptions.BuilderhttpTokens(String httpTokens)Sets the value ofLaunchTemplateMetadataOptions.getHttpTokens()LaunchTemplateMetadataOptions.BuilderinstanceMetadataTags(String instanceMetadataTags)Sets the value ofLaunchTemplateMetadataOptions.getInstanceMetadataTags()
-
-
-
Method Detail
-
httpEndpoint
@Stability(Stable) public LaunchTemplateMetadataOptions.Builder httpEndpoint(String httpEndpoint)
Sets the value ofLaunchTemplateMetadataOptions.getHttpEndpoint()- Parameters:
httpEndpoint- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#http_endpoint LaunchTemplate#http_endpoint}.- Returns:
this
-
httpProtocolIpv6
@Stability(Stable) public LaunchTemplateMetadataOptions.Builder httpProtocolIpv6(String httpProtocolIpv6)
Sets the value ofLaunchTemplateMetadataOptions.getHttpProtocolIpv6()- Parameters:
httpProtocolIpv6- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#http_protocol_ipv6 LaunchTemplate#http_protocol_ipv6}.- Returns:
this
-
httpPutResponseHopLimit
@Stability(Stable) public LaunchTemplateMetadataOptions.Builder httpPutResponseHopLimit(Number httpPutResponseHopLimit)
Sets the value ofLaunchTemplateMetadataOptions.getHttpPutResponseHopLimit()- Parameters:
httpPutResponseHopLimit- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#http_put_response_hop_limit LaunchTemplate#http_put_response_hop_limit}.- Returns:
this
-
httpTokens
@Stability(Stable) public LaunchTemplateMetadataOptions.Builder httpTokens(String httpTokens)
Sets the value ofLaunchTemplateMetadataOptions.getHttpTokens()- Parameters:
httpTokens- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#http_tokens LaunchTemplate#http_tokens}.- Returns:
this
-
instanceMetadataTags
@Stability(Stable) public LaunchTemplateMetadataOptions.Builder instanceMetadataTags(String instanceMetadataTags)
Sets the value ofLaunchTemplateMetadataOptions.getInstanceMetadataTags()- Parameters:
instanceMetadataTags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#instance_metadata_tags LaunchTemplate#instance_metadata_tags}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateMetadataOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateMetadataOptions>- Returns:
- a new instance of
LaunchTemplateMetadataOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-