Class FloatingIPTarget

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.FloatingIPTarget
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Direct Known Subclasses:
FloatingIPTargetBareMetalServerNetworkInterfaceReference, FloatingIPTargetNetworkInterfaceReference, FloatingIPTargetPublicGatewayReference, FloatingIPTargetVirtualNetworkInterfaceReference

public class FloatingIPTarget extends com.ibm.cloud.sdk.core.service.model.GenericModel
The target of this floating IP. Classes which extend this class: - FloatingIPTargetNetworkInterfaceReference - FloatingIPTargetBareMetalServerNetworkInterfaceReference - FloatingIPTargetPublicGatewayReference - FloatingIPTargetVirtualNetworkInterfaceReference
  • Method Details

    • getDeleted

      public Deleted getDeleted()
      Gets the deleted. If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.
      Returns:
      the deleted
    • getHref

      public String getHref()
      Gets the href. The URL for this instance network interface. If this instance 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
    • getId

      public String getId()
      Gets the id. The unique identifier for this instance network interface. If this instance 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
    • getName

      public String getName()
      Gets the name. The name for this instance network interface.
      Returns:
      the name
    • getPrimaryIp

      public ReservedIPReference getPrimaryIp()
      Gets the primaryIp.
      Returns:
      the primaryIp
    • getResourceType

      public String getResourceType()
      Gets the resourceType. The resource type.
      Returns:
      the resourceType
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this public gateway.
      Returns:
      the crn
    • getSubnet

      public SubnetReference getSubnet()
      Gets the subnet. The associated subnet.
      Returns:
      the subnet