Interface NetworkEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkEndpoint.Builder,,NetworkEndpoint> SdkBuilder<NetworkEndpoint.Builder,,NetworkEndpoint> SdkPojo
- Enclosing class:
NetworkEndpoint
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkEndpoint.BuilderautonomousSystem(Consumer<AutonomousSystem.Builder> autonomousSystem) The Autonomous System (AS) of the network endpoint.autonomousSystem(AutonomousSystem autonomousSystem) The Autonomous System (AS) of the network endpoint.default NetworkEndpoint.Builderconnection(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 ID of the network endpoint.The IP address associated with the network endpoint.default NetworkEndpoint.Builderlocation(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.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:
-
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:
-
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.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:
-