public static interface NetworkHeader.Builder extends SdkPojo, CopyableBuilder<NetworkHeader.Builder,NetworkHeader>
| Modifier and Type | Method and Description |
|---|---|
default NetworkHeader.Builder |
destination(Consumer<NetworkPathComponentDetails.Builder> destination)
Information about the destination of the component.
|
NetworkHeader.Builder |
destination(NetworkPathComponentDetails destination)
Information about the destination of the component.
|
NetworkHeader.Builder |
protocol(String protocol)
The protocol used for the component.
|
default NetworkHeader.Builder |
source(Consumer<NetworkPathComponentDetails.Builder> source)
Information about the origin of the component.
|
NetworkHeader.Builder |
source(NetworkPathComponentDetails source)
Information about the origin of the component.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkHeader.Builder protocol(String protocol)
The protocol used for the component.
protocol - The protocol used for the component.NetworkHeader.Builder destination(NetworkPathComponentDetails destination)
Information about the destination of the component.
destination - Information about the destination of the component.default NetworkHeader.Builder destination(Consumer<NetworkPathComponentDetails.Builder> destination)
Information about the destination of the component.
This is a convenience method that creates an instance of theNetworkPathComponentDetails.Builder
avoiding the need to create one manually via NetworkPathComponentDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to destination(NetworkPathComponentDetails).
destination - a consumer that will call methods on NetworkPathComponentDetails.Builderdestination(NetworkPathComponentDetails)NetworkHeader.Builder source(NetworkPathComponentDetails source)
Information about the origin of the component.
source - Information about the origin of the component.default NetworkHeader.Builder source(Consumer<NetworkPathComponentDetails.Builder> source)
Information about the origin of the component.
This is a convenience method that creates an instance of theNetworkPathComponentDetails.Builder
avoiding the need to create one manually via NetworkPathComponentDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to source(NetworkPathComponentDetails).
source - a consumer that will call methods on NetworkPathComponentDetails.Buildersource(NetworkPathComponentDetails)Copyright © 2023. All rights reserved.