public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyVpcAttribute operation
.
Modifies the specified attribute of the specified VPC.
NOOP
Constructor and Description |
---|
ModifyVpcAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcAttributeRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, 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()
public void setEnableDnsSupport(Boolean enableDnsSupport)
enableDnsSupport
- Indicates whether the DNS resolution is supported for the VPC. If
enabled, 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. If disabled, the Amazon
provided DNS service in the VPC that resolves public DNS hostnames to
IP addresses is not enabled.public ModifyVpcAttributeRequest withEnableDnsSupport(Boolean enableDnsSupport)
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
enabled, 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. If disabled, the Amazon
provided DNS service in the VPC that resolves public DNS hostnames to
IP addresses is not enabled.public Boolean getEnableDnsSupport()
public Boolean isEnableDnsHostnames()
You can only enable DNS hostnames if you also enable DNS support.
You can only enable DNS hostnames if you also enable DNS support.
public void setEnableDnsHostnames(Boolean enableDnsHostnames)
You can only enable DNS hostnames if you also enable DNS support.
enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames.
If enabled, instances in the VPC get DNS hostnames; otherwise, they do
not. You can only enable DNS hostnames if you also enable DNS support.
public ModifyVpcAttributeRequest withEnableDnsHostnames(Boolean enableDnsHostnames)
You can only enable DNS hostnames if you also enable DNS support.
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 enabled, instances in the VPC get DNS hostnames; otherwise, they do
not. You can only enable DNS hostnames if you also enable DNS support.
public Boolean getEnableDnsHostnames()
You can only enable DNS hostnames if you also enable DNS support.
You can only enable DNS hostnames if you also enable DNS support.
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcAttributeRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.