public static final class BgpNeighborsStatusListResult.Builder
extends java.lang.Object
BgpNeighborsStatusListResult
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BgpNeighborsStatusListResult . |
Modifier and Type | Method and Description |
---|---|
BgpNeighborsStatusListResult |
build() |
BgpNeighborsStatusListResult.Builder |
setCursor(java.lang.String cursor)
Opaque cursor to be used for getting next page of records (supplied by current
result page)
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated, unset if data source has never updated
the data.
|
BgpNeighborsStatusListResult.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
BgpNeighborsStatusListResult.Builder |
setLogicalRouterId(java.lang.String logicalRouterId)
Logical router id
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setLogicalRouterName(java.lang.String logicalRouterName)
Name of the logical router
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setResultCount(java.lang.Long resultCount)
Count of results found (across all pages), set only on first page format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setResults(java.util.List<BgpNeighborStatus> results)
Status of BGP neighbors of the logical router
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setSelf(SelfResourceLink self) |
BgpNeighborsStatusListResult.Builder |
setSortAscending(java.lang.Boolean sortAscending)
If true, results are sorted in ascending order
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
BgpNeighborsStatusListResult.Builder |
setSortBy(java.lang.String sortBy)
Field by which records are sorted
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
BgpNeighborsStatusListResult
.public BgpNeighborsStatusListResult.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public BgpNeighborsStatusListResult.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public BgpNeighborsStatusListResult.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public BgpNeighborsStatusListResult.Builder setCursor(java.lang.String cursor)
cursor
- New value for the property.public BgpNeighborsStatusListResult.Builder setResultCount(java.lang.Long resultCount)
resultCount
- New value for the property.public BgpNeighborsStatusListResult.Builder setSortAscending(java.lang.Boolean sortAscending)
sortAscending
- New value for the property.public BgpNeighborsStatusListResult.Builder setSortBy(java.lang.String sortBy)
sortBy
- New value for the property.public BgpNeighborsStatusListResult.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp
- New value for the property.public BgpNeighborsStatusListResult.Builder setLogicalRouterId(java.lang.String logicalRouterId)
logicalRouterId
- New value for the property.public BgpNeighborsStatusListResult.Builder setLogicalRouterName(java.lang.String logicalRouterName)
logicalRouterName
- New value for the property.public BgpNeighborsStatusListResult.Builder setResults(java.util.List<BgpNeighborStatus> results)
results
- New value for the property.public BgpNeighborsStatusListResult build()