Interface LaunchTemplatePrivateDnsNameOptionsRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchTemplatePrivateDnsNameOptionsRequest.Builder,LaunchTemplatePrivateDnsNameOptionsRequest>
,SdkBuilder<LaunchTemplatePrivateDnsNameOptionsRequest.Builder,LaunchTemplatePrivateDnsNameOptionsRequest>
,SdkPojo
- Enclosing class:
- LaunchTemplatePrivateDnsNameOptionsRequest
public static interface LaunchTemplatePrivateDnsNameOptionsRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplatePrivateDnsNameOptionsRequest.Builder,LaunchTemplatePrivateDnsNameOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchTemplatePrivateDnsNameOptionsRequest.Builder
enableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.LaunchTemplatePrivateDnsNameOptionsRequest.Builder
enableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.LaunchTemplatePrivateDnsNameOptionsRequest.Builder
hostnameType(String hostnameType)
The type of hostname for Amazon EC2 instances.LaunchTemplatePrivateDnsNameOptionsRequest.Builder
hostnameType(HostnameType hostnameType)
The type of hostname for Amazon EC2 instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
hostnameType
LaunchTemplatePrivateDnsNameOptionsRequest.Builder hostnameType(String hostnameType)
The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
- Parameters:
hostnameType
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostnameType
,HostnameType
-
hostnameType
LaunchTemplatePrivateDnsNameOptionsRequest.Builder hostnameType(HostnameType hostnameType)
The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
- Parameters:
hostnameType
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HostnameType
,HostnameType
-
enableResourceNameDnsARecord
LaunchTemplatePrivateDnsNameOptionsRequest.Builder enableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- Parameters:
enableResourceNameDnsARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableResourceNameDnsAAAARecord
LaunchTemplatePrivateDnsNameOptionsRequest.Builder enableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- Parameters:
enableResourceNameDnsAAAARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-