Class VpcDhcpOptionsState.Builder

  • Enclosing class:
    VpcDhcpOptionsState

    public static final class VpcDhcpOptionsState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public VpcDhcpOptionsState.Builder arn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the DHCP Options Set.
        Returns:
        builder
      • arn

        public VpcDhcpOptionsState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the DHCP Options Set.
        Returns:
        builder
      • domainName

        public VpcDhcpOptionsState.Builder domainName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> domainName)
        Parameters:
        domainName - the suffix domain name to use by default when resolving non Fully Qualified Domain Names. In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file.
        Returns:
        builder
      • domainName

        public VpcDhcpOptionsState.Builder domainName​(java.lang.String domainName)
        Parameters:
        domainName - the suffix domain name to use by default when resolving non Fully Qualified Domain Names. In other words, this is what ends up being the `search` value in the `/etc/resolv.conf` file.
        Returns:
        builder
      • domainNameServers

        public VpcDhcpOptionsState.Builder domainNameServers​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<java.lang.String>> domainNameServers)
        Parameters:
        domainNameServers - List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
        Returns:
        builder
      • domainNameServers

        public VpcDhcpOptionsState.Builder domainNameServers​(java.util.List<java.lang.String> domainNameServers)
        Parameters:
        domainNameServers - List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
        Returns:
        builder
      • domainNameServers

        public VpcDhcpOptionsState.Builder domainNameServers​(java.lang.String... domainNameServers)
        Parameters:
        domainNameServers - List of name servers to configure in `/etc/resolv.conf`. If you want to use the default AWS nameservers you should set this to `AmazonProvidedDNS`.
        Returns:
        builder
      • ipv6AddressPreferredLeaseTime

        public VpcDhcpOptionsState.Builder ipv6AddressPreferredLeaseTime​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.String> ipv6AddressPreferredLeaseTime)
        Parameters:
        ipv6AddressPreferredLeaseTime - How frequently, in seconds, a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal. Acceptable values are between 140 and 2147483647 (approximately 68 years). If no value is entered, the default lease time is 140 seconds. If you use long-term addressing for EC2 instances, you can increase the lease time and avoid frequent lease renewal requests. Lease renewal typically occurs when half of the lease time has elapsed.
        Returns:
        builder
      • ipv6AddressPreferredLeaseTime

        public VpcDhcpOptionsState.Builder ipv6AddressPreferredLeaseTime​(java.lang.String ipv6AddressPreferredLeaseTime)
        Parameters:
        ipv6AddressPreferredLeaseTime - How frequently, in seconds, a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal. Acceptable values are between 140 and 2147483647 (approximately 68 years). If no value is entered, the default lease time is 140 seconds. If you use long-term addressing for EC2 instances, you can increase the lease time and avoid frequent lease renewal requests. Lease renewal typically occurs when half of the lease time has elapsed.
        Returns:
        builder
      • netbiosNameServers

        public VpcDhcpOptionsState.Builder netbiosNameServers​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> netbiosNameServers)
        Parameters:
        netbiosNameServers - List of NETBIOS name servers.
        Returns:
        builder
      • netbiosNameServers

        public VpcDhcpOptionsState.Builder netbiosNameServers​(java.util.List<java.lang.String> netbiosNameServers)
        Parameters:
        netbiosNameServers - List of NETBIOS name servers.
        Returns:
        builder
      • netbiosNameServers

        public VpcDhcpOptionsState.Builder netbiosNameServers​(java.lang.String... netbiosNameServers)
        Parameters:
        netbiosNameServers - List of NETBIOS name servers.
        Returns:
        builder
      • netbiosNodeType

        public VpcDhcpOptionsState.Builder netbiosNodeType​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> netbiosNodeType)
        Parameters:
        netbiosNodeType - NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
        Returns:
        builder
      • netbiosNodeType

        public VpcDhcpOptionsState.Builder netbiosNodeType​(java.lang.String netbiosNodeType)
        Parameters:
        netbiosNodeType - NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 since broadcast and multicast are not supported in their network. For more information about these node types, see [RFC 2132](http://www.ietf.org/rfc/rfc2132.txt).
        Returns:
        builder
      • ntpServers

        public VpcDhcpOptionsState.Builder ntpServers​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> ntpServers)
        Parameters:
        ntpServers - List of NTP servers to configure.
        Returns:
        builder
      • ntpServers

        public VpcDhcpOptionsState.Builder ntpServers​(java.util.List<java.lang.String> ntpServers)
        Parameters:
        ntpServers - List of NTP servers to configure.
        Returns:
        builder
      • ntpServers

        public VpcDhcpOptionsState.Builder ntpServers​(java.lang.String... ntpServers)
        Parameters:
        ntpServers - List of NTP servers to configure.
        Returns:
        builder
      • ownerId

        public VpcDhcpOptionsState.Builder ownerId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - ID of the AWS account that owns the DHCP options set.
        Returns:
        builder
      • ownerId

        public VpcDhcpOptionsState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - ID of the AWS account that owns the DHCP options set.
        Returns:
        builder
      • region

        public VpcDhcpOptionsState.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public VpcDhcpOptionsState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public VpcDhcpOptionsState.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** All arguments are optional but at least one must be specified. `domainNameServers`, `netbiosNameServers`, and `ntpServers` are limited to four servers each. To use the DHCP Options Set you must associate it to a VPC using `aws.ec2.VpcDhcpOptionsAssociation`. If you delete a DHCP Options Set, all VPCs using it will be associated to AWS's `default` DHCP Option Set. In most cases, set `domainNameServers` to `AmazonProvidedDNS` unless configuring your own DNS.
        Returns:
        builder
      • tags

        public VpcDhcpOptionsState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** All arguments are optional but at least one must be specified. `domainNameServers`, `netbiosNameServers`, and `ntpServers` are limited to four servers each. To use the DHCP Options Set you must associate it to a VPC using `aws.ec2.VpcDhcpOptionsAssociation`. If you delete a DHCP Options Set, all VPCs using it will be associated to AWS's `default` DHCP Option Set. In most cases, set `domainNameServers` to `AmazonProvidedDNS` unless configuring your own DNS.
        Returns:
        builder
      • tagsAll

        public VpcDhcpOptionsState.Builder tagsAll​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public VpcDhcpOptionsState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder