Interface Network.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Network.Builder,,Network> SdkBuilder<Network.Builder,,Network> SdkPojo
- Enclosing class:
Network
-
Method Summary
Modifier and TypeMethodDescriptiondestinationDomain(String destinationDomain) The destination domain of network-related information about a finding.destinationIpV4(String destinationIpV4) The destination IPv4 address of network-related information about a finding.destinationIpV6(String destinationIpV6) The destination IPv6 address of network-related information about a finding.destinationPort(Integer destinationPort) The destination port of network-related information about a finding.The direction of network traffic associated with a finding.direction(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.openPortRange(PortRange openPortRange) The range of open ports that is present on the network.The protocol of network-related information about a finding.sourceDomain(String sourceDomain) The source domain of network-related information about a finding.sourceIpV4(String sourceIpV4) The source IPv4 address of network-related information about a finding.sourceIpV6(String sourceIpV6) The source IPv6 address of network-related information about a finding.The source media access control (MAC) address of network-related information about a finding.sourcePort(Integer sourcePort) The source port of network-related information about a finding.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
-
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:
-
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:
-
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
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
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:
-
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
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
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
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
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
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
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
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
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.
-