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<AutonomousSystem.Builder> autonomousSystem)The Autonomous System (AS) of the network endpoint.NetworkEndpoint.BuilderautonomousSystem(AutonomousSystem autonomousSystem)The Autonomous System (AS) 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 ID of the network endpoint.NetworkEndpoint.Builderip(String ip)The IP address associated with 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 ID of the network endpoint.
- Parameters:
id- The ID of the network endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ip
NetworkEndpoint.Builder ip(String ip)
The IP address associated with the network endpoint.
- Parameters:
ip- The IP address associated with 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(AutonomousSystem autonomousSystem)
The Autonomous System (AS) of the network endpoint.
- Parameters:
autonomousSystem- The Autonomous System (AS) 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<AutonomousSystem.Builder> autonomousSystem)
The Autonomous System (AS) of the network endpoint.
This is a convenience method that creates an instance of theAutonomousSystem.Builderavoiding the need to create one manually viaAutonomousSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautonomousSystem(AutonomousSystem).- Parameters:
autonomousSystem- a consumer that will call methods onAutonomousSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autonomousSystem(AutonomousSystem)
-
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)
-
-