Interface DescribeVpcAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVpcAttributeResponse.Builder,,DescribeVpcAttributeResponse> Ec2Response.Builder,SdkBuilder<DescribeVpcAttributeResponse.Builder,,DescribeVpcAttributeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVpcAttributeResponse
-
Method Summary
Modifier and TypeMethodDescriptionenableDnsHostnames(Consumer<AttributeBooleanValue.Builder> enableDnsHostnames) Indicates whether the instances launched in the VPC get DNS hostnames.enableDnsHostnames(AttributeBooleanValue enableDnsHostnames) Indicates whether the instances launched in the VPC get DNS hostnames.enableDnsSupport(Consumer<AttributeBooleanValue.Builder> enableDnsSupport) Indicates whether DNS resolution is enabled for the VPC.enableDnsSupport(AttributeBooleanValue enableDnsSupport) Indicates whether DNS resolution is enabled for the VPC.enableNetworkAddressUsageMetrics(Consumer<AttributeBooleanValue.Builder> enableNetworkAddressUsageMetrics) Indicates whether Network Address Usage metrics are enabled for your VPC.enableNetworkAddressUsageMetrics(AttributeBooleanValue enableNetworkAddressUsageMetrics) Indicates whether Network Address Usage metrics are enabled for your VPC.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.- Parameters:
enableDnsHostnames- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue, instances in the VPC get DNS hostnames; otherwise, they do not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableDnsHostnames
default DescribeVpcAttributeResponse.Builder enableDnsHostnames(Consumer<AttributeBooleanValue.Builder> enableDnsHostnames) Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
This is a convenience method that creates an instance of thetrue, instances in the VPC get DNS hostnames; otherwise, they do not.AttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenableDnsHostnames(AttributeBooleanValue).- Parameters:
enableDnsHostnames- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableDnsSupport
Indicates whether DNS resolution is enabled 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.- Parameters:
enableDnsSupport- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableDnsSupport
default DescribeVpcAttributeResponse.Builder enableDnsSupport(Consumer<AttributeBooleanValue.Builder> enableDnsSupport) Indicates whether DNS resolution is enabled for the VPC. If this attribute is
This is a convenience method that creates an instance of thetrue, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.AttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenableDnsSupport(AttributeBooleanValue).- Parameters:
enableDnsSupport- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableNetworkAddressUsageMetrics
DescribeVpcAttributeResponse.Builder enableNetworkAddressUsageMetrics(AttributeBooleanValue enableNetworkAddressUsageMetrics) Indicates whether Network Address Usage metrics are enabled for your VPC.
- Parameters:
enableNetworkAddressUsageMetrics- Indicates whether Network Address Usage metrics are enabled for your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableNetworkAddressUsageMetrics
default DescribeVpcAttributeResponse.Builder enableNetworkAddressUsageMetrics(Consumer<AttributeBooleanValue.Builder> enableNetworkAddressUsageMetrics) Indicates whether Network Address Usage metrics are enabled for your VPC.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenableNetworkAddressUsageMetrics(AttributeBooleanValue).- Parameters:
enableNetworkAddressUsageMetrics- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-