Class PortCollection
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.PortCollection
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PortCollection extends com.ibm.cloud.sdk.core.service.model.GenericModelList of port label details.
-
-
Constructor Summary
Constructors Constructor Description PortCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortsPaginatedCollectionFirstgetFirst()Gets the first.LonggetLimit()Gets the limit.PortsPaginatedCollectionNextgetNext()Gets the next.List<Port>getPorts()Gets the ports.LonggetTotalCount()Gets the totalCount.
-
-
-
Method Detail
-
getFirst
public PortsPaginatedCollectionFirst getFirst()
Gets the first. A reference to the first page of resources.- Returns:
- the first
-
getLimit
public Long getLimit()
Gets the limit. The maximum number of resources can be returned by the request.- Returns:
- the limit
-
getNext
public PortsPaginatedCollectionNext getNext()
Gets the next. A reference to the next page of resources; this reference is included for all pages except the last page.- Returns:
- the next
-
getTotalCount
public Long getTotalCount()
Gets the totalCount. The total number of resources across all pages.- Returns:
- the totalCount
-
-