Class CreateSubnetReservedIpOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.CreateSubnetReservedIpOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateSubnetReservedIpOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createSubnetReservedIp options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a CreateSubnetReservedIpOptions builder
    • subnetId

      public String subnetId()
      Gets the subnetId. The subnet identifier.
      Returns:
      the subnetId
    • address

      public String address()
      Gets the address. The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.
      Returns:
      the address
    • autoDelete

      public Boolean autoDelete()
      Gets the autoDelete. Indicates whether this reserved IP member will be automatically deleted when either `target` is deleted, or the reserved IP is unbound. Must be `false` if the reserved IP is unbound.
      Returns:
      the autoDelete
    • name

      public String name()
      Gets the name. The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.
      Returns:
      the name
    • target

      public ReservedIPTargetPrototype target()
      Gets the target. The target to bind this reserved IP to. The target must be in the same VPC. The following targets are supported: - An endpoint gateway not already bound to a reserved IP in the subnet's zone. - A virtual network interface. If unspecified, the reserved IP will be created unbound.
      Returns:
      the target