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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkReachabilityDetails.BuildernetworkPath(Consumer<NetworkPath.Builder> networkPath)An object that contains details about a network path associated with a finding.NetworkReachabilityDetails.BuildernetworkPath(NetworkPath networkPath)An object that contains details about a network path associated with a finding.default NetworkReachabilityDetails.BuilderopenPortRange(Consumer<PortRange.Builder> openPortRange)An object that contains details about the open port range associated with a finding.NetworkReachabilityDetails.BuilderopenPortRange(PortRange openPortRange)An object that contains details about the open port range associated with a finding.NetworkReachabilityDetails.Builderprotocol(String protocol)The protocol associated with a finding.NetworkReachabilityDetails.Builderprotocol(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 Detail
-
networkPath
NetworkReachabilityDetails.Builder networkPath(NetworkPath 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
default NetworkReachabilityDetails.Builder networkPath(Consumer<NetworkPath.Builder> 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.Builderavoiding the need to create one manually viaNetworkPath.builder().When the
Consumercompletes,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:
networkPath(NetworkPath)
-
openPortRange
NetworkReachabilityDetails.Builder openPortRange(PortRange 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
default NetworkReachabilityDetails.Builder openPortRange(Consumer<PortRange.Builder> 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.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)
-
protocol
NetworkReachabilityDetails.Builder protocol(String 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:
NetworkProtocol,NetworkProtocol
-
protocol
NetworkReachabilityDetails.Builder protocol(NetworkProtocol 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:
NetworkProtocol,NetworkProtocol
-
-