Interface NetworkEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkEndpoint.Builder,
,NetworkEndpoint> SdkBuilder<NetworkEndpoint.Builder,
,NetworkEndpoint> SdkPojo
- Enclosing class:
NetworkEndpoint
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkEndpoint.Builder
autonomousSystem
(Consumer<NetworkAutonomousSystem.Builder> autonomousSystem) The Autonomous System Number (ASN) of the network endpoint.autonomousSystem
(NetworkAutonomousSystem autonomousSystem) The Autonomous System Number (ASN) of the network endpoint.default NetworkEndpoint.Builder
connection
(Consumer<NetworkConnection.Builder> connection) Information about the network connection.connection
(NetworkConnection connection) Information about the network connection.The domain information for the network endpoint.The identifier of the network endpoint involved in the attack sequence.The IP address used in the network endpoint.default NetworkEndpoint.Builder
location
(Consumer<NetworkGeoLocation.Builder> location) Information about the location of the network endpoint.location
(NetworkGeoLocation location) Information about the location of the network endpoint.The port number associated with the network endpoint.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 Details
-
id
The identifier of the network endpoint involved in the attack sequence.
- Parameters:
id
- The identifier of the network endpoint involved in the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ip
The IP address used in the network endpoint.
- Parameters:
ip
- The IP address used in the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The domain information for the network endpoint.
- Parameters:
domain
- The domain information for the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port number associated with the network endpoint.
- Parameters:
port
- The port number associated with the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Information about the location of the network endpoint.
- Parameters:
location
- Information about the location of the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Information about the location of the network endpoint.
This is a convenience method that creates an instance of theNetworkGeoLocation.Builder
avoiding the need to create one manually viaNetworkGeoLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(NetworkGeoLocation)
.- Parameters:
location
- a consumer that will call methods onNetworkGeoLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autonomousSystem
The Autonomous System Number (ASN) of the network endpoint.
- Parameters:
autonomousSystem
- The Autonomous System Number (ASN) of the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autonomousSystem
default NetworkEndpoint.Builder autonomousSystem(Consumer<NetworkAutonomousSystem.Builder> autonomousSystem) The Autonomous System Number (ASN) of the network endpoint.
This is a convenience method that creates an instance of theNetworkAutonomousSystem.Builder
avoiding the need to create one manually viaNetworkAutonomousSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautonomousSystem(NetworkAutonomousSystem)
.- Parameters:
autonomousSystem
- a consumer that will call methods onNetworkAutonomousSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connection
Information about the network connection.
- Parameters:
connection
- Information about the network connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connection
Information about the network connection.
This is a convenience method that creates an instance of theNetworkConnection.Builder
avoiding the need to create one manually viaNetworkConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnection(NetworkConnection)
.- Parameters:
connection
- a consumer that will call methods onNetworkConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-