@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateDnsNameOptionsResponse extends Object implements Serializable, Cloneable
Describes the options for instance hostnames.
Constructor and Description |
---|
PrivateDnsNameOptionsResponse() |
Modifier and Type | Method and Description |
---|---|
PrivateDnsNameOptionsResponse |
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.
|
PrivateDnsNameOptionsResponse |
withEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
PrivateDnsNameOptionsResponse |
withEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
PrivateDnsNameOptionsResponse |
withHostnameType(HostnameType hostnameType)
The type of hostname to assign to an instance.
|
PrivateDnsNameOptionsResponse |
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 PrivateDnsNameOptionsResponse withHostnameType(String hostnameType)
The type of hostname to assign to an instance.
hostnameType
- The type of hostname to assign to an instance.HostnameType
public PrivateDnsNameOptionsResponse 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 PrivateDnsNameOptionsResponse 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 PrivateDnsNameOptionsResponse 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 PrivateDnsNameOptionsResponse clone()