Interface ProvisionIpamPoolCidrRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>, Ec2Request.Builder, SdkBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ProvisionIpamPoolCidrRequest

public static interface ProvisionIpamPoolCidrRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>
  • Method Details

    • dryRun

      A check for 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 - A check for 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.
    • ipamPoolId

      The ID of the IPAM pool to which you want to assign a CIDR.

      Parameters:
      ipamPoolId - The ID of the IPAM pool to which you want to assign a CIDR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidr

      The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.

      Parameters:
      cidr - The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrAuthorizationContext

      ProvisionIpamPoolCidrRequest.Builder cidrAuthorizationContext(IpamCidrAuthorizationContext cidrAuthorizationContext)

      A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

      Parameters:
      cidrAuthorizationContext - A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cidrAuthorizationContext

      default ProvisionIpamPoolCidrRequest.Builder cidrAuthorizationContext(Consumer<IpamCidrAuthorizationContext.Builder> cidrAuthorizationContext)

      A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cidrAuthorizationContext(IpamCidrAuthorizationContext).

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

      ProvisionIpamPoolCidrRequest.Builder netmaskLength(Integer netmaskLength)

      The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.

      Parameters:
      netmaskLength - The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      ProvisionIpamPoolCidrRequest.Builder clientToken(String clientToken)

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

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

      ProvisionIpamPoolCidrRequest.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.