Class AmqpFragment.Setter
java.lang.Object
io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter<AmqpFragment.Setter>
io.aiven.kafka.connect.amqp.common.config.AmqpFragment.Setter
- Enclosing class:
AmqpFragment
public static class AmqpFragment.Setter
extends io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter<AmqpFragment.Setter>
The Setter for the AMQP fragment.
-
Field Summary
Fields inherited from class io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter
self -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetAddress(String address) Sets the address for the AMQP receiver.Sets the host value.setPassword(String password) Sets the user password to connect to the AMQP server.setPort(int port) Sets the port for the AMQP connection.Sets the user name to connect to the AMQP server.Methods inherited from class io.aiven.commons.kafka.config.fragment.AbstractFragmentSetter
data, setValue, setValue, setValue, setValue, setValue, setValue
-
Constructor Details
-
Setter
Constructor.- Parameters:
data- the map of data items being set.
-
-
Method Details
-
setHost
Sets the host value.- Parameters:
host- the host for AMQP connection.- Returns:
- this
-
setPort
Sets the port for the AMQP connection.- Parameters:
port- the port for the AMQP connection.- Returns:
- this.
-
setAddress
Sets the address for the AMQP receiver.- Parameters:
address- the address (topic) to listen to- Returns:
- this.
-
setUser
Sets the user name to connect to the AMQP server.- Parameters:
user- the user name.- Returns:
- this.
-
setPassword
Sets the user password to connect to the AMQP server.- Parameters:
password- the password.- Returns:
- this.
-