public static final class BgpNeighborStatusLiteDto.Builder
extends java.lang.Object
BgpNeighborStatusLiteDto
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BgpNeighborStatusLiteDto . |
Modifier and Type | Method and Description |
---|---|
BgpNeighborStatusLiteDto |
build() |
BgpNeighborStatusLiteDto.Builder |
setConnectionState(java.lang.String connectionState)
Possible values are:
BgpNeighborStatusLiteDto.CONNECTION_STATE_INVALID
BgpNeighborStatusLiteDto.CONNECTION_STATE_IDLE
BgpNeighborStatusLiteDto.CONNECTION_STATE_CONNECT
BgpNeighborStatusLiteDto.CONNECTION_STATE_ACTIVE
BgpNeighborStatusLiteDto.CONNECTION_STATE_OPEN_SENT
BgpNeighborStatusLiteDto.CONNECTION_STATE_OPEN_CONFIRM
BgpNeighborStatusLiteDto.CONNECTION_STATE_ESTABLISHED
BgpNeighborStatusLiteDto.CONNECTION_STATE_UNKNOWN
Current state of the BGP session. |
BgpNeighborStatusLiteDto.Builder |
setNeighborAddress(java.lang.String neighborAddress)
Ip address of BGP neighbor.
|
BgpNeighborStatusLiteDto.Builder |
setRemoteSite(ResourceReference remoteSite) |
BgpNeighborStatusLiteDto.Builder |
setSourceAddress(java.lang.String sourceAddress)
Source Ip address.
|
public Builder()
BgpNeighborStatusLiteDto
.public BgpNeighborStatusLiteDto.Builder setConnectionState(java.lang.String connectionState)
BgpNeighborStatusLiteDto.CONNECTION_STATE_INVALID
BgpNeighborStatusLiteDto.CONNECTION_STATE_IDLE
BgpNeighborStatusLiteDto.CONNECTION_STATE_CONNECT
BgpNeighborStatusLiteDto.CONNECTION_STATE_ACTIVE
BgpNeighborStatusLiteDto.CONNECTION_STATE_OPEN_SENT
BgpNeighborStatusLiteDto.CONNECTION_STATE_OPEN_CONFIRM
BgpNeighborStatusLiteDto.CONNECTION_STATE_ESTABLISHED
BgpNeighborStatusLiteDto.CONNECTION_STATE_UNKNOWN
connectionState
- New value for the property.public BgpNeighborStatusLiteDto.Builder setNeighborAddress(java.lang.String neighborAddress)
neighborAddress
- New value for the property.public BgpNeighborStatusLiteDto.Builder setRemoteSite(ResourceReference remoteSite)
remoteSite
- New value for the property.public BgpNeighborStatusLiteDto.Builder setSourceAddress(java.lang.String sourceAddress)
sourceAddress
- New value for the property.public BgpNeighborStatusLiteDto build()