public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements Serializable
ModifyVpcAttribute operation
.
Modifies the specified attribute of the specified VPC.
NOOP
Constructor and Description |
---|
ModifyVpcAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
Boolean |
getEnableDnsSupport()
Indicates whether the DNS resolution is supported for the VPC.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
Boolean |
isEnableDnsSupport()
Indicates whether the DNS resolution is supported for the VPC.
|
void |
setEnableDnsHostnames(Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
void |
setEnableDnsSupport(Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyVpcAttributeRequest |
withEnableDnsHostnames(Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
ModifyVpcAttributeRequest |
withEnableDnsSupport(Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC.
|
ModifyVpcAttributeRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public ModifyVpcAttributeRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public Boolean isEnableDnsSupport()
false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.public void setEnableDnsSupport(Boolean enableDnsSupport)
false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.enableDnsSupport
- Indicates whether the DNS resolution is supported for the VPC. If this
attribute is false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.public ModifyVpcAttributeRequest withEnableDnsSupport(Boolean enableDnsSupport)
false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.
Returns a reference to this object so that method calls can be chained together.
enableDnsSupport
- Indicates whether the DNS resolution is supported for the VPC. If this
attribute is false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.public Boolean getEnableDnsSupport()
false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.false
, the Amazon provided DNS service in
the VPC that resolves public DNS hostnames to IP addresses is not
enabled. If this attribute is true
, queries to the Amazon
provided DNS server at the 169.254.169.253 IP address, or the reserved
IP address at the base of the VPC network range "plus two" will
succeed.public Boolean isEnableDnsHostnames()
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
public void setEnableDnsHostnames(Boolean enableDnsHostnames)
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames.
If this attribute is true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
public ModifyVpcAttributeRequest withEnableDnsHostnames(Boolean enableDnsHostnames)
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
Returns a reference to this object so that method calls can be chained together.
enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames.
If this attribute is true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
public Boolean getEnableDnsHostnames()
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
true
, instances in the VPC get DNS
hostnames; otherwise, they do not. You can only set
enableDnsHostnames
to true
if you also set
the EnableDnsSupport
attribute to true
.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.