public static interface NetworkPathComponent.Builder extends SdkPojo, CopyableBuilder<NetworkPathComponent.Builder,NetworkPathComponent>
| Modifier and Type | Method and Description |
|---|---|
NetworkPathComponent.Builder |
componentId(String componentId)
The identifier of a component in the network path.
|
NetworkPathComponent.Builder |
componentType(String componentType)
The type of component.
|
default NetworkPathComponent.Builder |
egress(Consumer<NetworkHeader.Builder> egress)
Information about the component that comes after the current component in the network path.
|
NetworkPathComponent.Builder |
egress(NetworkHeader egress)
Information about the component that comes after the current component in the network path.
|
default NetworkPathComponent.Builder |
ingress(Consumer<NetworkHeader.Builder> ingress)
Information about the component that comes before the current node in the network path.
|
NetworkPathComponent.Builder |
ingress(NetworkHeader ingress)
Information about the component that comes before the current node in the network path.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkPathComponent.Builder componentId(String componentId)
The identifier of a component in the network path.
componentId - The identifier of a component in the network path.NetworkPathComponent.Builder componentType(String componentType)
The type of component.
componentType - The type of component.NetworkPathComponent.Builder egress(NetworkHeader egress)
Information about the component that comes after the current component in the network path.
egress - Information about the component that comes after the current component in the network path.default NetworkPathComponent.Builder egress(Consumer<NetworkHeader.Builder> egress)
Information about the component that comes after the current component in the network path.
This is a convenience method that creates an instance of theNetworkHeader.Builder avoiding the need
to create one manually via NetworkHeader.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to egress(NetworkHeader).
egress - a consumer that will call methods on NetworkHeader.Builderegress(NetworkHeader)NetworkPathComponent.Builder ingress(NetworkHeader ingress)
Information about the component that comes before the current node in the network path.
ingress - Information about the component that comes before the current node in the network path.default NetworkPathComponent.Builder ingress(Consumer<NetworkHeader.Builder> ingress)
Information about the component that comes before the current node in the network path.
This is a convenience method that creates an instance of theNetworkHeader.Builder avoiding the need
to create one manually via NetworkHeader.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ingress(NetworkHeader).
ingress - a consumer that will call methods on NetworkHeader.Builderingress(NetworkHeader)Copyright © 2023. All rights reserved.