@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyPrivateDnsNameOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyPrivateDnsNameOptionsRequest>
NOOP
Constructor and Description |
---|
ModifyPrivateDnsNameOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyPrivateDnsNameOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyPrivateDnsNameOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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 |
getInstanceId()
The ID of the instance.
|
String |
getPrivateDnsHostnameType()
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 |
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 |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setPrivateDnsHostnameType(String privateDnsHostnameType)
The type of hostname for EC2 instances.
|
String |
toString()
Returns a string representation of this object.
|
ModifyPrivateDnsNameOptionsRequest |
withEnableResourceNameDnsAAAARecord(Boolean enableResourceNameDnsAAAARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
|
ModifyPrivateDnsNameOptionsRequest |
withEnableResourceNameDnsARecord(Boolean enableResourceNameDnsARecord)
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
|
ModifyPrivateDnsNameOptionsRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
ModifyPrivateDnsNameOptionsRequest |
withPrivateDnsHostnameType(HostnameType privateDnsHostnameType)
The type of hostname for EC2 instances.
|
ModifyPrivateDnsNameOptionsRequest |
withPrivateDnsHostnameType(String privateDnsHostnameType)
The type of hostname for EC2 instances.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public ModifyPrivateDnsNameOptionsRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setPrivateDnsHostnameType(String privateDnsHostnameType)
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
privateDnsHostnameType
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the
instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For
dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.HostnameType
public String getPrivateDnsHostnameType()
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
HostnameType
public ModifyPrivateDnsNameOptionsRequest withPrivateDnsHostnameType(String privateDnsHostnameType)
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
privateDnsHostnameType
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the
instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For
dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.HostnameType
public ModifyPrivateDnsNameOptionsRequest withPrivateDnsHostnameType(HostnameType privateDnsHostnameType)
The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
privateDnsHostnameType
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the
instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For
dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.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 ModifyPrivateDnsNameOptionsRequest 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 ModifyPrivateDnsNameOptionsRequest 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 Request<ModifyPrivateDnsNameOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyPrivateDnsNameOptionsRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyPrivateDnsNameOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()