public static interface AwsEc2SubnetDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2SubnetDetails.Builder,AwsEc2SubnetDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2SubnetDetails.Builder |
assignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Whether to assign an IPV6 address to a network interface that is created in this subnet.
|
AwsEc2SubnetDetails.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the subnet.
|
AwsEc2SubnetDetails.Builder |
availabilityZoneId(String availabilityZoneId)
The identifier of the Availability Zone for the subnet.
|
AwsEc2SubnetDetails.Builder |
availableIpAddressCount(Integer availableIpAddressCount)
The number of available IPV4 addresses in the subnet.
|
AwsEc2SubnetDetails.Builder |
cidrBlock(String cidrBlock)
The IPV4 CIDR block that is assigned to the subnet.
|
AwsEc2SubnetDetails.Builder |
defaultForAz(Boolean defaultForAz)
Whether this subnet is the default subnet for the Availability Zone.
|
AwsEc2SubnetDetails.Builder |
ipv6CidrBlockAssociationSet(Collection<Ipv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
|
AwsEc2SubnetDetails.Builder |
ipv6CidrBlockAssociationSet(Consumer<Ipv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
|
AwsEc2SubnetDetails.Builder |
ipv6CidrBlockAssociationSet(Ipv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
|
AwsEc2SubnetDetails.Builder |
mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Whether instances in this subnet receive a public IP address.
|
AwsEc2SubnetDetails.Builder |
ownerId(String ownerId)
The identifier of the Amazon Web Services account that owns the subnet.
|
AwsEc2SubnetDetails.Builder |
state(String state)
The current state of the subnet.
|
AwsEc2SubnetDetails.Builder |
subnetArn(String subnetArn)
The ARN of the subnet.
|
AwsEc2SubnetDetails.Builder |
subnetId(String subnetId)
The identifier of the subnet.
|
AwsEc2SubnetDetails.Builder |
vpcId(String vpcId)
The identifier of the VPC that contains the subnet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2SubnetDetails.Builder assignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Whether to assign an IPV6 address to a network interface that is created in this subnet.
assignIpv6AddressOnCreation - Whether to assign an IPV6 address to a network interface that is created in this subnet.AwsEc2SubnetDetails.Builder availabilityZone(String availabilityZone)
The Availability Zone for the subnet.
availabilityZone - The Availability Zone for the subnet.AwsEc2SubnetDetails.Builder availabilityZoneId(String availabilityZoneId)
The identifier of the Availability Zone for the subnet.
availabilityZoneId - The identifier of the Availability Zone for the subnet.AwsEc2SubnetDetails.Builder availableIpAddressCount(Integer availableIpAddressCount)
The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.
availableIpAddressCount - The number of available IPV4 addresses in the subnet. Does not include addresses for stopped
instances.AwsEc2SubnetDetails.Builder cidrBlock(String cidrBlock)
The IPV4 CIDR block that is assigned to the subnet.
cidrBlock - The IPV4 CIDR block that is assigned to the subnet.AwsEc2SubnetDetails.Builder defaultForAz(Boolean defaultForAz)
Whether this subnet is the default subnet for the Availability Zone.
defaultForAz - Whether this subnet is the default subnet for the Availability Zone.AwsEc2SubnetDetails.Builder mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Whether instances in this subnet receive a public IP address.
mapPublicIpOnLaunch - Whether instances in this subnet receive a public IP address.AwsEc2SubnetDetails.Builder ownerId(String ownerId)
The identifier of the Amazon Web Services account that owns the subnet.
ownerId - The identifier of the Amazon Web Services account that owns the subnet.AwsEc2SubnetDetails.Builder state(String state)
The current state of the subnet. Valid values are available or pending.
state - The current state of the subnet. Valid values are available or pending.AwsEc2SubnetDetails.Builder subnetArn(String subnetArn)
The ARN of the subnet.
subnetArn - The ARN of the subnet.AwsEc2SubnetDetails.Builder subnetId(String subnetId)
The identifier of the subnet.
subnetId - The identifier of the subnet.AwsEc2SubnetDetails.Builder vpcId(String vpcId)
The identifier of the VPC that contains the subnet.
vpcId - The identifier of the VPC that contains the subnet.AwsEc2SubnetDetails.Builder ipv6CidrBlockAssociationSet(Collection<Ipv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
ipv6CidrBlockAssociationSet - The IPV6 CIDR blocks that are associated with the subnet.AwsEc2SubnetDetails.Builder ipv6CidrBlockAssociationSet(Ipv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
ipv6CidrBlockAssociationSet - The IPV6 CIDR blocks that are associated with the subnet.AwsEc2SubnetDetails.Builder ipv6CidrBlockAssociationSet(Consumer<Ipv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet)
The IPV6 CIDR blocks that are associated with the subnet.
This is a convenience method that creates an instance of theIpv6CidrBlockAssociation.Builder avoiding the need
to create one manually via
Ipv6CidrBlockAssociation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #ipv6CidrBlockAssociationSet(List.
ipv6CidrBlockAssociationSet - a consumer that will call methods on
Ipv6CidrBlockAssociation.Builder#ipv6CidrBlockAssociationSet(java.util.Collection) Copyright © 2023. All rights reserved.