Interface ModifyPrivateDnsNameOptionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyPrivateDnsNameOptionsRequest.Builder,ModifyPrivateDnsNameOptionsRequest>, Ec2Request.Builder, SdkBuilder<ModifyPrivateDnsNameOptionsRequest.Builder,ModifyPrivateDnsNameOptionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyPrivateDnsNameOptionsRequest

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

    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      The ID of the instance.

      Parameters:
      instanceId - The ID of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateDnsHostnameType

      ModifyPrivateDnsNameOptionsRequest.Builder privateDnsHostnameType(String privateDnsHostnameType)

      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:
      privateDnsHostnameType - 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:
    • privateDnsHostnameType

      ModifyPrivateDnsNameOptionsRequest.Builder privateDnsHostnameType(HostnameType privateDnsHostnameType)

      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:
      privateDnsHostnameType - 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

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

      ModifyPrivateDnsNameOptionsRequest.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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.