public static interface AnalysisPacketHeader.Builder extends SdkPojo, CopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
equalsBySdkFields, sdkFields
copy
applyMutation, build
AnalysisPacketHeader.Builder destinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
destinationAddresses
- The destination addresses.AnalysisPacketHeader.Builder destinationAddresses(String... destinationAddresses)
The destination addresses.
destinationAddresses
- The destination addresses.AnalysisPacketHeader.Builder destinationPortRanges(Collection<PortRange> destinationPortRanges)
The destination port ranges.
destinationPortRanges
- The destination port ranges.AnalysisPacketHeader.Builder destinationPortRanges(PortRange... destinationPortRanges)
The destination port ranges.
destinationPortRanges
- The destination port ranges.AnalysisPacketHeader.Builder destinationPortRanges(Consumer<PortRange.Builder>... destinationPortRanges)
The destination port ranges.
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to create one manually
via PortRange.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #destinationPortRanges(List
.
destinationPortRanges
- a consumer that will call methods on
PortRange.Builder
#destinationPortRanges(java.util.Collection)
AnalysisPacketHeader.Builder protocol(String protocol)
The protocol.
protocol
- The protocol.AnalysisPacketHeader.Builder sourceAddresses(Collection<String> sourceAddresses)
The source addresses.
sourceAddresses
- The source addresses.AnalysisPacketHeader.Builder sourceAddresses(String... sourceAddresses)
The source addresses.
sourceAddresses
- The source addresses.AnalysisPacketHeader.Builder sourcePortRanges(Collection<PortRange> sourcePortRanges)
The source port ranges.
sourcePortRanges
- The source port ranges.AnalysisPacketHeader.Builder sourcePortRanges(PortRange... sourcePortRanges)
The source port ranges.
sourcePortRanges
- The source port ranges.AnalysisPacketHeader.Builder sourcePortRanges(Consumer<PortRange.Builder>... sourcePortRanges)
The source port ranges.
This is a convenience method that creates an instance of thePortRange.Builder
avoiding the need to create one manually
via PortRange.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #sourcePortRanges(List
.
sourcePortRanges
- a consumer that will call methods on
PortRange.Builder
#sourcePortRanges(java.util.Collection)
Copyright © 2023. All rights reserved.