Class FloatingIPTargetPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel
    Direct Known Subclasses:
    FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity, FloatingIPTargetPatchNetworkInterfaceIdentity, FloatingIPTargetPatchVirtualNetworkInterfaceIdentity

    public class FloatingIPTargetPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The target resource to bind this floating IP to, replacing any existing binding. The floating IP must not be required by another resource, such as a public gateway. The target resource must not already have a floating IP bound to it if the target resource is: - an instance network interface - a bare metal server network interface with `enable_infrastructure_nat` set to `true` - a virtual network interface with `enable_infrastructure_nat` set to `true` Specify `null` to remove an existing binding. Classes which extend this class: - FloatingIPTargetPatchBareMetalServerNetworkInterfaceIdentity - FloatingIPTargetPatchNetworkInterfaceIdentity - FloatingIPTargetPatchVirtualNetworkInterfaceIdentity
    • Method Detail

      • id

        public String id()
        Gets the id. The unique identifier for this bare metal server network interface. If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the identifier is that of the corresponding network attachment.
        Returns:
        the id
      • href

        public String href()
        Gets the href. The URL for this bare metal server network interface. If this bare metal server has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment.
        Returns:
        the href
      • crn

        public String crn()
        Gets the crn. The CRN for this virtual network interface.
        Returns:
        the crn