Interface AwsEc2SubnetDetails.Builder

    • Method Detail

      • assignIpv6AddressOnCreation

        AwsEc2SubnetDetails.Builder assignIpv6AddressOnCreation​(Boolean assignIpv6AddressOnCreation)

        Whether to assign an IPV6 address to a network interface that is created in this subnet.

        Parameters:
        assignIpv6AddressOnCreation - Whether to assign an IPV6 address to a network interface that is created in this subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        AwsEc2SubnetDetails.Builder availabilityZone​(String availabilityZone)

        The Availability Zone for the subnet.

        Parameters:
        availabilityZone - The Availability Zone for the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneId

        AwsEc2SubnetDetails.Builder availabilityZoneId​(String availabilityZoneId)

        The identifier of the Availability Zone for the subnet.

        Parameters:
        availabilityZoneId - The identifier of the Availability Zone for the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availableIpAddressCount

        AwsEc2SubnetDetails.Builder availableIpAddressCount​(Integer availableIpAddressCount)

        The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

        Parameters:
        availableIpAddressCount - The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidrBlock

        AwsEc2SubnetDetails.Builder cidrBlock​(String cidrBlock)

        The IPV4 CIDR block that is assigned to the subnet.

        Parameters:
        cidrBlock - The IPV4 CIDR block that is assigned to the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultForAz

        AwsEc2SubnetDetails.Builder defaultForAz​(Boolean defaultForAz)

        Whether this subnet is the default subnet for the Availability Zone.

        Parameters:
        defaultForAz - Whether this subnet is the default subnet for the Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mapPublicIpOnLaunch

        AwsEc2SubnetDetails.Builder mapPublicIpOnLaunch​(Boolean mapPublicIpOnLaunch)

        Whether instances in this subnet receive a public IP address.

        Parameters:
        mapPublicIpOnLaunch - Whether instances in this subnet receive a public IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        AwsEc2SubnetDetails.Builder ownerId​(String ownerId)

        The identifier of the Amazon Web Services account that owns the subnet.

        Parameters:
        ownerId - The identifier of the Amazon Web Services account that owns the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        AwsEc2SubnetDetails.Builder state​(String state)

        The current state of the subnet. Valid values are available or pending.

        Parameters:
        state - The current state of the subnet. Valid values are available or pending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetArn

        AwsEc2SubnetDetails.Builder subnetArn​(String subnetArn)

        The ARN of the subnet.

        Parameters:
        subnetArn - The ARN of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        AwsEc2SubnetDetails.Builder subnetId​(String subnetId)

        The identifier of the subnet.

        Parameters:
        subnetId - The identifier of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        AwsEc2SubnetDetails.Builder vpcId​(String vpcId)

        The identifier of the VPC that contains the subnet.

        Parameters:
        vpcId - The identifier of the VPC that contains the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6CidrBlockAssociationSet

        AwsEc2SubnetDetails.Builder ipv6CidrBlockAssociationSet​(Collection<Ipv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)

        The IPV6 CIDR blocks that are associated with the subnet.

        Parameters:
        ipv6CidrBlockAssociationSet - The IPV6 CIDR blocks that are associated with the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv6CidrBlockAssociationSet

        AwsEc2SubnetDetails.Builder ipv6CidrBlockAssociationSet​(Ipv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)

        The IPV6 CIDR blocks that are associated with the subnet.

        Parameters:
        ipv6CidrBlockAssociationSet - The IPV6 CIDR blocks that are associated with the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.