Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.ec2.inputs.VpcDhcpOptionsState Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.ec2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class VpcDhcpOptionsState extends com.pulumi.resources.ResourceArgs {
public static final VpcDhcpOptionsState Empty = new VpcDhcpOptionsState();
/**
* The ARN of the DHCP Options Set.
*
*/
@Import(name="arn")
private @Nullable Output arn;
/**
* @return The ARN of the DHCP Options Set.
*
*/
public Optional> arn() {
return Optional.ofNullable(this.arn);
}
/**
* 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.
*
*/
@Import(name="domainName")
private @Nullable Output domainName;
/**
* @return 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.
*
*/
public Optional> domainName() {
return Optional.ofNullable(this.domainName);
}
/**
* 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`.
*
*/
@Import(name="domainNameServers")
private @Nullable Output> domainNameServers;
/**
* @return 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`.
*
*/
public Optional>> domainNameServers() {
return Optional.ofNullable(this.domainNameServers);
}
/**
* 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.
*
*/
@Import(name="ipv6AddressPreferredLeaseTime")
private @Nullable Output ipv6AddressPreferredLeaseTime;
/**
* @return 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.
*
*/
public Optional> ipv6AddressPreferredLeaseTime() {
return Optional.ofNullable(this.ipv6AddressPreferredLeaseTime);
}
/**
* List of NETBIOS name servers.
*
*/
@Import(name="netbiosNameServers")
private @Nullable Output> netbiosNameServers;
/**
* @return List of NETBIOS name servers.
*
*/
public Optional>> netbiosNameServers() {
return Optional.ofNullable(this.netbiosNameServers);
}
/**
* The 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).
*
*/
@Import(name="netbiosNodeType")
private @Nullable Output netbiosNodeType;
/**
* @return The 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).
*
*/
public Optional> netbiosNodeType() {
return Optional.ofNullable(this.netbiosNodeType);
}
/**
* List of NTP servers to configure.
*
*/
@Import(name="ntpServers")
private @Nullable Output> ntpServers;
/**
* @return List of NTP servers to configure.
*
*/
public Optional>> ntpServers() {
return Optional.ofNullable(this.ntpServers);
}
/**
* The ID of the AWS account that owns the DHCP options set.
*
*/
@Import(name="ownerId")
private @Nullable Output ownerId;
/**
* @return The ID of the AWS account that owns the DHCP options set.
*
*/
public Optional> ownerId() {
return Optional.ofNullable(this.ownerId);
}
/**
* A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
public Optional>> tags() {
return Optional.ofNullable(this.tags);
}
/**
* A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Import(name="tagsAll")
private @Nullable Output> tagsAll;
/**
* @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
public Optional>> tagsAll() {
return Optional.ofNullable(this.tagsAll);
}
private VpcDhcpOptionsState() {}
private VpcDhcpOptionsState(VpcDhcpOptionsState $) {
this.arn = $.arn;
this.domainName = $.domainName;
this.domainNameServers = $.domainNameServers;
this.ipv6AddressPreferredLeaseTime = $.ipv6AddressPreferredLeaseTime;
this.netbiosNameServers = $.netbiosNameServers;
this.netbiosNodeType = $.netbiosNodeType;
this.ntpServers = $.ntpServers;
this.ownerId = $.ownerId;
this.tags = $.tags;
this.tagsAll = $.tagsAll;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VpcDhcpOptionsState defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VpcDhcpOptionsState $;
public Builder() {
$ = new VpcDhcpOptionsState();
}
public Builder(VpcDhcpOptionsState defaults) {
$ = new VpcDhcpOptionsState(Objects.requireNonNull(defaults));
}
/**
* @param arn The ARN of the DHCP Options Set.
*
* @return builder
*
*/
public Builder arn(@Nullable Output arn) {
$.arn = arn;
return this;
}
/**
* @param arn The ARN of the DHCP Options Set.
*
* @return builder
*
*/
public Builder arn(String arn) {
return arn(Output.of(arn));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder domainName(@Nullable Output domainName) {
$.domainName = domainName;
return this;
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder domainName(String domainName) {
return domainName(Output.of(domainName));
}
/**
* @param 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`.
*
* @return builder
*
*/
public Builder domainNameServers(@Nullable Output> domainNameServers) {
$.domainNameServers = domainNameServers;
return this;
}
/**
* @param 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`.
*
* @return builder
*
*/
public Builder domainNameServers(List domainNameServers) {
return domainNameServers(Output.of(domainNameServers));
}
/**
* @param 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`.
*
* @return builder
*
*/
public Builder domainNameServers(String... domainNameServers) {
return domainNameServers(List.of(domainNameServers));
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder ipv6AddressPreferredLeaseTime(@Nullable Output ipv6AddressPreferredLeaseTime) {
$.ipv6AddressPreferredLeaseTime = ipv6AddressPreferredLeaseTime;
return this;
}
/**
* @param 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.
*
* @return builder
*
*/
public Builder ipv6AddressPreferredLeaseTime(String ipv6AddressPreferredLeaseTime) {
return ipv6AddressPreferredLeaseTime(Output.of(ipv6AddressPreferredLeaseTime));
}
/**
* @param netbiosNameServers List of NETBIOS name servers.
*
* @return builder
*
*/
public Builder netbiosNameServers(@Nullable Output> netbiosNameServers) {
$.netbiosNameServers = netbiosNameServers;
return this;
}
/**
* @param netbiosNameServers List of NETBIOS name servers.
*
* @return builder
*
*/
public Builder netbiosNameServers(List netbiosNameServers) {
return netbiosNameServers(Output.of(netbiosNameServers));
}
/**
* @param netbiosNameServers List of NETBIOS name servers.
*
* @return builder
*
*/
public Builder netbiosNameServers(String... netbiosNameServers) {
return netbiosNameServers(List.of(netbiosNameServers));
}
/**
* @param netbiosNodeType The 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).
*
* @return builder
*
*/
public Builder netbiosNodeType(@Nullable Output netbiosNodeType) {
$.netbiosNodeType = netbiosNodeType;
return this;
}
/**
* @param netbiosNodeType The 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).
*
* @return builder
*
*/
public Builder netbiosNodeType(String netbiosNodeType) {
return netbiosNodeType(Output.of(netbiosNodeType));
}
/**
* @param ntpServers List of NTP servers to configure.
*
* @return builder
*
*/
public Builder ntpServers(@Nullable Output> ntpServers) {
$.ntpServers = ntpServers;
return this;
}
/**
* @param ntpServers List of NTP servers to configure.
*
* @return builder
*
*/
public Builder ntpServers(List ntpServers) {
return ntpServers(Output.of(ntpServers));
}
/**
* @param ntpServers List of NTP servers to configure.
*
* @return builder
*
*/
public Builder ntpServers(String... ntpServers) {
return ntpServers(List.of(ntpServers));
}
/**
* @param ownerId The ID of the AWS account that owns the DHCP options set.
*
* @return builder
*
*/
public Builder ownerId(@Nullable Output ownerId) {
$.ownerId = ownerId;
return this;
}
/**
* @param ownerId The ID of the AWS account that owns the DHCP options set.
*
* @return builder
*
*/
public Builder ownerId(String ownerId) {
return ownerId(Output.of(ownerId));
}
/**
* @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
* @return builder
*
*/
public Builder tags(Map tags) {
return tags(Output.of(tags));
}
/**
* @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @return builder
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
public Builder tagsAll(@Nullable Output> tagsAll) {
$.tagsAll = tagsAll;
return this;
}
/**
* @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @return builder
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
public Builder tagsAll(Map tagsAll) {
return tagsAll(Output.of(tagsAll));
}
public VpcDhcpOptionsState build() {
return $;
}
}
}