Interface CreateSecondarySubnetRequest.Builder

  • Method Details

    • 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

      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.
    • tagSpecifications

      The tags to assign to the secondary subnet.

      This is a convenience method that creates an instance of the TagSpecification.Builder avoiding the need to create one manually via TagSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagSpecifications(List<TagSpecification>).

      Parameters:
      tagSpecifications - a consumer that will call methods on TagSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateSecondarySubnetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.