Interface PrivateDnsNameOptionsOnLaunch.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PrivateDnsNameOptionsOnLaunch.Builder,PrivateDnsNameOptionsOnLaunch>, SdkBuilder<PrivateDnsNameOptionsOnLaunch.Builder,PrivateDnsNameOptionsOnLaunch>, SdkPojo
Enclosing class:
PrivateDnsNameOptionsOnLaunch

public static interface PrivateDnsNameOptionsOnLaunch.Builder extends SdkPojo, CopyableBuilder<PrivateDnsNameOptionsOnLaunch.Builder,PrivateDnsNameOptionsOnLaunch>
  • Method Details

    • hostnameType

      PrivateDnsNameOptionsOnLaunch.Builder hostnameType(String hostnameType)

      The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only 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 EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only 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

      The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only 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 EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only 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:
    • enableResourceNameDnsARecord

      PrivateDnsNameOptionsOnLaunch.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

      PrivateDnsNameOptionsOnLaunch.Builder enableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)

      Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.

      Parameters:
      enableResourceNameDnsAAAARecord - Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records.
      Returns:
      Returns a reference to this object so that method calls can be chained together.