Interface CreateSecondarySubnetRequest.Builder

    • Method Detail

      • clientToken

        CreateSecondarySubnetRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        CreateSecondarySubnetRequest.Builder availabilityZone​(String availabilityZone)

        The Availability Zone for the secondary subnet. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.

        Parameters:
        availabilityZone - The Availability Zone for the secondary subnet. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneId

        CreateSecondarySubnetRequest.Builder availabilityZoneId​(String availabilityZoneId)

        The ID of the Availability Zone for the secondary subnet. This option is preferred over AvailabilityZone as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.

        Parameters:
        availabilityZoneId - The ID of the Availability Zone for the secondary subnet. This option is preferred over AvailabilityZone as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        CreateSecondarySubnetRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipv4CidrBlock

        CreateSecondarySubnetRequest.Builder ipv4CidrBlock​(String ipv4CidrBlock)

        The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.

        Parameters:
        ipv4CidrBlock - The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secondaryNetworkId

        CreateSecondarySubnetRequest.Builder secondaryNetworkId​(String secondaryNetworkId)

        The ID of the secondary network in which to create the secondary subnet.

        Parameters:
        secondaryNetworkId - The ID of the secondary network in which to create the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateSecondarySubnetRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to assign to the secondary subnet.

        Parameters:
        tagSpecifications - The tags to assign to the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateSecondarySubnetRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to assign to the secondary subnet.

        Parameters:
        tagSpecifications - The tags to assign to the secondary subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.