public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements Serializable
ModifyVpcAttribute operation.
Modifies the specified attribute of the specified VPC.
| 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 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 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 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 DNS resolution is supported for the VPC.
|
ModifyVpcAttributeRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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()
true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public void setEnableDnsSupport(Boolean enableDnsSupport)
true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.enableDnsSupport - Indicates whether DNS resolution is supported for the VPC. If this
attribute is true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public ModifyVpcAttributeRequest withEnableDnsSupport(Boolean enableDnsSupport)
true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.
Returns a reference to this object so that method calls can be chained together.
enableDnsSupport - Indicates whether DNS resolution is supported for the VPC. If this
attribute is true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public Boolean getEnableDnsSupport()
true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.true, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.