public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
ModifyVpcAttribute operation
.
Modifies the specified attribute of the specified VPC.
Constructor and Description |
---|
ModifyVpcAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
public void setEnableDnsSupport(java.lang.Boolean enableDnsSupport)
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
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. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
public ModifyVpcAttributeRequest withEnableDnsSupport(java.lang.Boolean enableDnsSupport)
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
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. You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
public java.lang.Boolean getEnableDnsSupport()
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
public java.lang.Boolean isEnableDnsHostnames()
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
public void setEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled 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 cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
public ModifyVpcAttributeRequest withEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled 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 cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
public java.lang.Boolean getEnableDnsHostnames()
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.
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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.