@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplatePrivateDnsNameOptions extends Object implements Serializable, Cloneable
Describes the options for instance hostnames.
Constructor and Description |
---|
LaunchTemplatePrivateDnsNameOptions() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplatePrivateDnsNameOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableResourceNameDnsAAAARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
Boolean |
getEnableResourceNameDnsARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
String |
getHostnameType()
The type of hostname to assign to an instance.
|
int |
hashCode() |
Boolean |
isEnableResourceNameDnsAAAARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
Boolean |
isEnableResourceNameDnsARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
void |
setEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
void |
setEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
void |
setHostnameType(String hostnameType)
The type of hostname to assign to an instance.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplatePrivateDnsNameOptions |
withEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
LaunchTemplatePrivateDnsNameOptions |
withEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
LaunchTemplatePrivateDnsNameOptions |
withHostnameType(HostnameType hostnameType)
The type of hostname to assign to an instance.
|
LaunchTemplatePrivateDnsNameOptions |
withHostnameType(String hostnameType)
The type of hostname to assign to an instance.
|
public void setHostnameType(String hostnameType)
The type of hostname to assign to an instance.
hostnameType
- The type of hostname to assign to an instance.HostnameType
public String getHostnameType()
The type of hostname to assign to an instance.
HostnameType
public LaunchTemplatePrivateDnsNameOptions withHostnameType(String hostnameType)
The type of hostname to assign to an instance.
hostnameType
- The type of hostname to assign to an instance.HostnameType
public LaunchTemplatePrivateDnsNameOptions withHostnameType(HostnameType hostnameType)
The type of hostname to assign to an instance.
hostnameType
- The type of hostname to assign to an instance.HostnameType
public void setEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
enableResourceNameDnsARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.public Boolean getEnableResourceNameDnsARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
public LaunchTemplatePrivateDnsNameOptions withEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
enableResourceNameDnsARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.public Boolean isEnableResourceNameDnsARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
public void setEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
enableResourceNameDnsAAAARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.public Boolean getEnableResourceNameDnsAAAARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
public LaunchTemplatePrivateDnsNameOptions withEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
enableResourceNameDnsAAAARecord
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.public Boolean isEnableResourceNameDnsAAAARecord()
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
public String toString()
toString
in class Object
Object.toString()
public LaunchTemplatePrivateDnsNameOptions clone()