Package com.ibm.cloud.is.vpc.v1.model
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NetworkInterfaceBareMetalServerContextReference.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkInterfaceBareMetalServerContextReferenceDeleted
getDeleted()
Gets the deleted.String
getHref()
Gets the href.String
getId()
Gets the id.String
getName()
Gets the name.ReservedIPReference
getPrimaryIp()
Gets the primaryIp.String
getResourceType()
Gets the resourceType.SubnetReference
getSubnet()
Gets the subnet.
-
-
-
Method Detail
-
getDeleted
public NetworkInterfaceBareMetalServerContextReferenceDeleted 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
-
-