public static interface DescribeVpcAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
Modifier and Type | Method and Description |
---|---|
DescribeVpcAttributeResponse.Builder |
enableDnsHostnames(AttributeBooleanValue enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
default DescribeVpcAttributeResponse.Builder |
enableDnsHostnames(Consumer<AttributeBooleanValue.Builder> enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
DescribeVpcAttributeResponse.Builder |
enableDnsSupport(AttributeBooleanValue enableDnsSupport)
Indicates whether DNS resolution is enabled for the VPC.
|
default DescribeVpcAttributeResponse.Builder |
enableDnsSupport(Consumer<AttributeBooleanValue.Builder> enableDnsSupport)
Indicates whether DNS resolution is enabled for the VPC.
|
DescribeVpcAttributeResponse.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeVpcAttributeResponse.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.DescribeVpcAttributeResponse.Builder enableDnsHostnames(AttributeBooleanValue 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.
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.default DescribeVpcAttributeResponse.Builder enableDnsHostnames(Consumer<AttributeBooleanValue.Builder> 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.
AttributeBooleanValue.Builder
avoiding the need
to create one manually via AttributeBooleanValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to enableDnsHostnames(AttributeBooleanValue)
.enableDnsHostnames
- a consumer that will call methods on AttributeBooleanValue.Builder
enableDnsHostnames(AttributeBooleanValue)
DescribeVpcAttributeResponse.Builder enableDnsSupport(AttributeBooleanValue 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.
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.default DescribeVpcAttributeResponse.Builder enableDnsSupport(Consumer<AttributeBooleanValue.Builder> 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.
AttributeBooleanValue.Builder
avoiding the need
to create one manually via AttributeBooleanValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to enableDnsSupport(AttributeBooleanValue)
.enableDnsSupport
- a consumer that will call methods on AttributeBooleanValue.Builder
enableDnsSupport(AttributeBooleanValue)
Copyright © 2020. All rights reserved.