Interface Network.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Network.Builder,Network>,SdkBuilder<Network.Builder,Network>,SdkPojo
- Enclosing class:
- Network
public static interface Network.Builder extends SdkPojo, CopyableBuilder<Network.Builder,Network>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Network.BuilderdestinationDomain(String destinationDomain)The destination domain of network-related information about a finding.Network.BuilderdestinationIpV4(String destinationIpV4)The destination IPv4 address of network-related information about a finding.Network.BuilderdestinationIpV6(String destinationIpV6)The destination IPv6 address of network-related information about a finding.Network.BuilderdestinationPort(Integer destinationPort)The destination port of network-related information about a finding.Network.Builderdirection(String direction)The direction of network traffic associated with a finding.Network.Builderdirection(NetworkDirection direction)The direction of network traffic associated with a finding.default Network.BuilderopenPortRange(Consumer<PortRange.Builder> openPortRange)The range of open ports that is present on the network.Network.BuilderopenPortRange(PortRange openPortRange)The range of open ports that is present on the network.Network.Builderprotocol(String protocol)The protocol of network-related information about a finding.Network.BuildersourceDomain(String sourceDomain)The source domain of network-related information about a finding.Network.BuildersourceIpV4(String sourceIpV4)The source IPv4 address of network-related information about a finding.Network.BuildersourceIpV6(String sourceIpV6)The source IPv6 address of network-related information about a finding.Network.BuildersourceMac(String sourceMac)The source media access control (MAC) address of network-related information about a finding.Network.BuildersourcePort(Integer sourcePort)The source port of network-related information about a finding.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
direction
Network.Builder direction(String direction)
The direction of network traffic associated with a finding.
- Parameters:
direction- The direction of network traffic associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkDirection,NetworkDirection
-
direction
Network.Builder direction(NetworkDirection direction)
The direction of network traffic associated with a finding.
- Parameters:
direction- The direction of network traffic associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkDirection,NetworkDirection
-
protocol
Network.Builder protocol(String protocol)
The protocol of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 16.
- Parameters:
protocol- The protocol of network-related information about a finding.Length Constraints: Minimum of 1. Maximum of 16.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openPortRange
Network.Builder openPortRange(PortRange openPortRange)
The range of open ports that is present on the network.
- Parameters:
openPortRange- The range of open ports that is present on the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openPortRange
default Network.Builder openPortRange(Consumer<PortRange.Builder> openPortRange)
The range of open ports that is present on the network.
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 toopenPortRange(PortRange).- Parameters:
openPortRange- 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:
openPortRange(PortRange)
-
sourceIpV4
Network.Builder sourceIpV4(String sourceIpV4)
The source IPv4 address of network-related information about a finding.
- Parameters:
sourceIpV4- The source IPv4 address of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIpV6
Network.Builder sourceIpV6(String sourceIpV6)
The source IPv6 address of network-related information about a finding.
- Parameters:
sourceIpV6- The source IPv6 address of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePort
Network.Builder sourcePort(Integer sourcePort)
The source port of network-related information about a finding.
- Parameters:
sourcePort- The source port of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDomain
Network.Builder sourceDomain(String sourceDomain)
The source domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
- Parameters:
sourceDomain- The source domain of network-related information about a finding.Length Constraints: Minimum of 1. Maximum of 128.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMac
Network.Builder sourceMac(String sourceMac)
The source media access control (MAC) address of network-related information about a finding.
- Parameters:
sourceMac- The source media access control (MAC) address of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIpV4
Network.Builder destinationIpV4(String destinationIpV4)
The destination IPv4 address of network-related information about a finding.
- Parameters:
destinationIpV4- The destination IPv4 address of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIpV6
Network.Builder destinationIpV6(String destinationIpV6)
The destination IPv6 address of network-related information about a finding.
- Parameters:
destinationIpV6- The destination IPv6 address of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
Network.Builder destinationPort(Integer destinationPort)
The destination port of network-related information about a finding.
- Parameters:
destinationPort- The destination port of network-related information about a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDomain
Network.Builder destinationDomain(String destinationDomain)
The destination domain of network-related information about a finding.
Length Constraints: Minimum of 1. Maximum of 128.
- Parameters:
destinationDomain- The destination domain of network-related information about a finding.Length Constraints: Minimum of 1. Maximum of 128.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-