Interface NetworkEndpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkEndpoint.Builder,NetworkEndpoint>,SdkBuilder<NetworkEndpoint.Builder,NetworkEndpoint>,SdkPojo
- Enclosing class:
- NetworkEndpoint
public static interface NetworkEndpoint.Builder extends SdkPojo, CopyableBuilder<NetworkEndpoint.Builder,NetworkEndpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkEndpoint.BuilderautonomousSystem(Consumer<NetworkAutonomousSystem.Builder> autonomousSystem)The Autonomous System Number (ASN) of the network endpoint.NetworkEndpoint.BuilderautonomousSystem(NetworkAutonomousSystem autonomousSystem)The Autonomous System Number (ASN) of the network endpoint.default NetworkEndpoint.Builderconnection(Consumer<NetworkConnection.Builder> connection)Information about the network connection.NetworkEndpoint.Builderconnection(NetworkConnection connection)Information about the network connection.NetworkEndpoint.Builderdomain(String domain)The domain information for the network endpoint.NetworkEndpoint.Builderid(String id)The identifier of the network endpoint involved in the attack sequence.NetworkEndpoint.Builderip(String ip)The IP address used in the network endpoint.default NetworkEndpoint.Builderlocation(Consumer<NetworkGeoLocation.Builder> location)Information about the location of the network endpoint.NetworkEndpoint.Builderlocation(NetworkGeoLocation location)Information about the location of the network endpoint.NetworkEndpoint.Builderport(Integer port)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 Detail
-
id
NetworkEndpoint.Builder id(String 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
NetworkEndpoint.Builder ip(String 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
NetworkEndpoint.Builder domain(String 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
NetworkEndpoint.Builder port(Integer 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
NetworkEndpoint.Builder location(NetworkGeoLocation 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
default NetworkEndpoint.Builder location(Consumer<NetworkGeoLocation.Builder> location)
Information about the location of the network endpoint.
This is a convenience method that creates an instance of theNetworkGeoLocation.Builderavoiding the need to create one manually viaNetworkGeoLocation.builder().When the
Consumercompletes,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:
location(NetworkGeoLocation)
-
autonomousSystem
NetworkEndpoint.Builder autonomousSystem(NetworkAutonomousSystem 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.Builderavoiding the need to create one manually viaNetworkAutonomousSystem.builder().When the
Consumercompletes,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:
autonomousSystem(NetworkAutonomousSystem)
-
connection
NetworkEndpoint.Builder connection(NetworkConnection 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
default NetworkEndpoint.Builder connection(Consumer<NetworkConnection.Builder> connection)
Information about the network connection.
This is a convenience method that creates an instance of theNetworkConnection.Builderavoiding the need to create one manually viaNetworkConnection.builder().When the
Consumercompletes,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:
connection(NetworkConnection)
-
-