Interface DescribeVpcAttributeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>,Ec2Response.Builder,SdkBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeVpcAttributeResponse
@Mutable @NotThreadSafe public static interface DescribeVpcAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpcAttributeResponse.Builder,DescribeVpcAttributeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeVpcAttributeResponse.BuilderenableDnsHostnames(Consumer<AttributeBooleanValue.Builder> enableDnsHostnames)Indicates whether the instances launched in the VPC get DNS hostnames.DescribeVpcAttributeResponse.BuilderenableDnsHostnames(AttributeBooleanValue enableDnsHostnames)Indicates whether the instances launched in the VPC get DNS hostnames.default DescribeVpcAttributeResponse.BuilderenableDnsSupport(Consumer<AttributeBooleanValue.Builder> enableDnsSupport)Indicates whether DNS resolution is enabled for the VPC.DescribeVpcAttributeResponse.BuilderenableDnsSupport(AttributeBooleanValue enableDnsSupport)Indicates whether DNS resolution is enabled for the VPC.default DescribeVpcAttributeResponse.BuilderenableNetworkAddressUsageMetrics(Consumer<AttributeBooleanValue.Builder> enableNetworkAddressUsageMetrics)Indicates whether Network Address Usage metrics are enabled for your VPC.DescribeVpcAttributeResponse.BuilderenableNetworkAddressUsageMetrics(AttributeBooleanValue enableNetworkAddressUsageMetrics)Indicates whether Network Address Usage metrics are enabled for your VPC.DescribeVpcAttributeResponse.BuildervpcId(String vpcId)The ID of the VPC.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
enableDnsHostnames
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.- 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:
enableDnsHostnames(AttributeBooleanValue)
-
enableDnsSupport
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.- 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:
enableDnsSupport(AttributeBooleanValue)
-
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:
enableNetworkAddressUsageMetrics(AttributeBooleanValue)
-
vpcId
DescribeVpcAttributeResponse.Builder vpcId(String 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.
-
-