public static class ProtectedTransportEndpointState.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProtectedTransportEndpointState |
build()
Builds
ProtectedTransportEndpointState . |
ProtectedTransportEndpointState.Builder |
copyFrom(ProtectedTransportEndpointState src)
Copies all the fields from
src . |
ProtectedTransportEndpointState.Builder |
withActivePathIndex(int activePathIndex)
Sets the activePathIndex.
|
ProtectedTransportEndpointState.Builder |
withDescription(ProtectedTransportEndpointDescription description)
Sets the description.
|
ProtectedTransportEndpointState.Builder |
withPathStates(java.util.List<TransportEndpointState> pathStates)
Sets the path states.
|
public ProtectedTransportEndpointState.Builder copyFrom(ProtectedTransportEndpointState src)
src
.src
- object to copy frompublic ProtectedTransportEndpointState.Builder withPathStates(java.util.List<TransportEndpointState> pathStates)
pathStates
- the path statespublic ProtectedTransportEndpointState.Builder withActivePathIndex(int activePathIndex)
activePathIndex
- the activePathIndexpublic ProtectedTransportEndpointState.Builder withDescription(ProtectedTransportEndpointDescription description)
description
- of this ProtectedTransportEndpointState
public ProtectedTransportEndpointState build()
ProtectedTransportEndpointState
.ProtectedTransportEndpointState