Interface AnalysisPacketHeader.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisPacketHeader.Builder,,AnalysisPacketHeader> SdkBuilder<AnalysisPacketHeader.Builder,,AnalysisPacketHeader> SdkPojo
- Enclosing class:
AnalysisPacketHeader
@Mutable
@NotThreadSafe
public static interface AnalysisPacketHeader.Builder
extends SdkPojo, CopyableBuilder<AnalysisPacketHeader.Builder,AnalysisPacketHeader>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationAddresses(String... destinationAddresses) The destination addresses.destinationAddresses(Collection<String> destinationAddresses) The destination addresses.destinationPortRanges(Collection<PortRange> destinationPortRanges) The destination port ranges.destinationPortRanges(Consumer<PortRange.Builder>... destinationPortRanges) The destination port ranges.destinationPortRanges(PortRange... destinationPortRanges) The destination port ranges.The protocol.sourceAddresses(String... sourceAddresses) The source addresses.sourceAddresses(Collection<String> sourceAddresses) The source addresses.sourcePortRanges(Collection<PortRange> sourcePortRanges) The source port ranges.sourcePortRanges(Consumer<PortRange.Builder>... sourcePortRanges) The source port ranges.sourcePortRanges(PortRange... sourcePortRanges) The source port ranges.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The destination addresses.
- Parameters:
destinationAddresses- The destination addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationPortRanges(List<PortRange>).- 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:
-
protocol
The protocol.
- Parameters:
protocol- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The source addresses.
- Parameters:
sourceAddresses- The source addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The source port ranges.
This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourcePortRanges(List<PortRange>).- 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:
-