Interface AnalysisPacketHeader.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
,SdkBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
,SdkPojo
- Enclosing class:
- AnalysisPacketHeader
public static interface AnalysisPacketHeader.Builder extends SdkPojo, CopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
destinationAddresses
AnalysisPacketHeader.Builder destinationAddresses(Collection<String> destinationAddresses)
The destination addresses.
- Parameters:
destinationAddresses
- The destination addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAddresses
AnalysisPacketHeader.Builder destinationAddresses(String... destinationAddresses)
The destination addresses.
- Parameters:
destinationAddresses
- The destination addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRanges
AnalysisPacketHeader.Builder destinationPortRanges(Collection<PortRange> destinationPortRanges)
The destination port ranges.
- Parameters:
destinationPortRanges
- The destination port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRanges
AnalysisPacketHeader.Builder destinationPortRanges(PortRange... destinationPortRanges)
The destination port ranges.
- Parameters:
destinationPortRanges
- The destination port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRanges
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 viaPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#destinationPortRanges(List
.) - Parameters:
destinationPortRanges
- a consumer that will call methods onPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinationPortRanges(java.util.Collection
)
-
protocol
AnalysisPacketHeader.Builder protocol(String protocol)
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAddresses
AnalysisPacketHeader.Builder sourceAddresses(Collection<String> sourceAddresses)
The source addresses.
- Parameters:
sourceAddresses
- The source addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAddresses
AnalysisPacketHeader.Builder sourceAddresses(String... sourceAddresses)
The source addresses.
- Parameters:
sourceAddresses
- The source addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRanges
AnalysisPacketHeader.Builder sourcePortRanges(Collection<PortRange> sourcePortRanges)
The source port ranges.
- Parameters:
sourcePortRanges
- The source port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRanges
AnalysisPacketHeader.Builder sourcePortRanges(PortRange... sourcePortRanges)
The source port ranges.
- Parameters:
sourcePortRanges
- The source port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRanges
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 viaPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#sourcePortRanges(List
.) - Parameters:
sourcePortRanges
- a consumer that will call methods onPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sourcePortRanges(java.util.Collection
)
-
-