@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcAttributeRequest>
NOOP
Constructor and Description |
---|
ModifyVpcAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyVpcAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
Boolean |
getEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your 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.
|
Boolean |
isEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your 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 |
setEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
|
ModifyVpcAttributeRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEnableDnsHostnames(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 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(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 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 void setEnableDnsSupport(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" 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" 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 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" 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(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" 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" 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 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" 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 setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public ModifyVpcAttributeRequest withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
enableNetworkAddressUsageMetrics
- Indicates whether Network Address Usage metrics are enabled for your VPC.public Boolean getEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your VPC.
public ModifyVpcAttributeRequest withEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
enableNetworkAddressUsageMetrics
- Indicates whether Network Address Usage metrics are enabled for your VPC.public Boolean isEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your VPC.
public Request<ModifyVpcAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()