Interface NetworkReachabilityDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkReachabilityDetails.Builder,
,NetworkReachabilityDetails> SdkBuilder<NetworkReachabilityDetails.Builder,
,NetworkReachabilityDetails> SdkPojo
- Enclosing class:
NetworkReachabilityDetails
public static interface NetworkReachabilityDetails.Builder
extends SdkPojo, CopyableBuilder<NetworkReachabilityDetails.Builder,NetworkReachabilityDetails>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkPath
(Consumer<NetworkPath.Builder> networkPath) An object that contains details about a network path associated with a finding.networkPath
(NetworkPath networkPath) An object that contains details about a network path associated with a finding.openPortRange
(Consumer<PortRange.Builder> openPortRange) An object that contains details about the open port range associated with a finding.openPortRange
(PortRange openPortRange) An object that contains details about the open port range associated with a finding.The protocol associated with a finding.protocol
(NetworkProtocol protocol) The protocol associated with 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, sdkFields
-
Method Details
-
networkPath
An object that contains details about a network path associated with a finding.
- Parameters:
networkPath
- An object that contains details about a network path associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkPath
An object that contains details about a network path associated with a finding.
This is a convenience method that creates an instance of theNetworkPath.Builder
avoiding the need to create one manually viaNetworkPath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkPath(NetworkPath)
.- Parameters:
networkPath
- a consumer that will call methods onNetworkPath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openPortRange
An object that contains details about the open port range associated with a finding.
- Parameters:
openPortRange
- An object that contains details about the open port range associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openPortRange
An object that contains details about the open port range associated with a finding.
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 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:
-
protocol
The protocol associated with a finding.
- Parameters:
protocol
- The protocol associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol associated with a finding.
- Parameters:
protocol
- The protocol associated with a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-