@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes the options for Amazon EC2 instance hostnames.
Constructor and Description |
---|
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails |
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 for EC2 instances.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 for EC2 instances.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails |
withEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails |
withEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails |
withHostnameType(String hostnameType)
The type of hostname for EC2 instances.
|
public AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails()
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 AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails 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 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 AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails 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 setHostnameType(String hostnameType)
The type of hostname for EC2 instances.
hostnameType
- The type of hostname for EC2 instances.public String getHostnameType()
The type of hostname for EC2 instances.
public AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails withHostnameType(String hostnameType)
The type of hostname for EC2 instances.
hostnameType
- The type of hostname for EC2 instances.public String toString()
toString
in class Object
Object.toString()
public AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.