Package com.ibm.cloud.is.vpc.v1.model
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.GenericModelThe target of this floating IP. Classes which extend this class: - FloatingIPTargetNetworkInterfaceReference - FloatingIPTargetBareMetalServerNetworkInterfaceReference - FloatingIPTargetPublicGatewayReference - FloatingIPTargetVirtualNetworkInterfaceReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFloatingIPTarget.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCrn()Gets the crn.NetworkInterfaceReferenceDeletedgetDeleted()Gets the deleted.StringgetHref()Gets the href.StringgetId()Gets the id.StringgetName()Gets the name.ReservedIPReferencegetPrimaryIp()Gets the primaryIp.StringgetResourceType()Gets the resourceType.SubnetReferencegetSubnet()Gets the subnet.
-
-
-
Method Detail
-
getDeleted
public NetworkInterfaceReferenceDeleted 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
-
-