|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ModifyVpcAttributeRequest
public class ModifyVpcAttributeRequest
Container for the parameters to the ModifyVpcAttribute operation
.
Modifies the specified attribute of the specified VPC.
AmazonEC2.modifyVpcAttribute(ModifyVpcAttributeRequest)
,
Serialized FormConstructor Summary | |
---|---|
ModifyVpcAttributeRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames. |
java.lang.Boolean |
getEnableDnsSupport()
Indicates whether the DNS resolution is supported for the VPC. |
java.lang.String |
getVpcId()
The ID of the VPC. |
int |
hashCode()
|
java.lang.Boolean |
isEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames. |
java.lang.Boolean |
isEnableDnsSupport()
Indicates whether the DNS resolution is supported for the VPC. |
void |
setEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames. |
void |
setEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC. |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ModifyVpcAttributeRequest |
withEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames. |
ModifyVpcAttributeRequest |
withEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC. |
ModifyVpcAttributeRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModifyVpcAttributeRequest()
Method Detail |
---|
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public ModifyVpcAttributeRequest withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.
public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |