Class NetworkInterfaceBareMetalServerContextReference

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

public class NetworkInterfaceBareMetalServerContextReference extends com.ibm.cloud.sdk.core.service.model.GenericModel
NetworkInterfaceBareMetalServerContextReference.
  • 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 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
    • getId

      public String getId()
      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
    • getName

      public String getName()
      Gets the name. The name for this bare metal server 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
    • getSubnet

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