public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ModifyVpcAttributeRequest>
Contains the parameters for ModifyVpcAttribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
enableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames.
|
private java.lang.Boolean |
enableDnsSupport
Indicates whether the DNS resolution is supported for the VPC.
|
private java.lang.String |
vpcId
The ID of the VPC.
|
NOOP
Constructor and Description |
---|
ModifyVpcAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcAttributeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<ModifyVpcAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String vpcId
The ID of the VPC.
private java.lang.Boolean 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.
private java.lang.Boolean 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 void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public ModifyVpcAttributeRequest withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setEnableDnsSupport(java.lang.Boolean 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.
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()
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.
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)
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.
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 isEnableDnsSupport()
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.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
public void setEnableDnsHostnames(java.lang.Boolean 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.
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()
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.
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)
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.
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 isEnableDnsHostnames()
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.
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 Request<ModifyVpcAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyVpcAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()