AmqpAddress Class
- java.
lang. Object - com.
azure. core. amqp. models. AmqpAddress
- com.
public final class AmqpAddress
This represents amqp address information. This will be used in populating information like 'To', 'ReplyTo' etc.
Create and retrieve address
AmqpAddress amqpAddress = new AmqpAddress("my-address");
// Retrieve Address
String address = amqpAddress.toString();
System.out.println("Address " + address);
Constructor Summary
Constructor | Description |
---|---|
AmqpAddress(String address) |
Creates the AmqpAddress with given |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object other) |
int | hashCode() |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
AmqpAddress
public AmqpAddress(String address)
Creates the AmqpAddress with given address
.
Parameters:
address
- The address to set for this instance.
Method Details
equals
public boolean equals(Object other)
Overrides:
AmqpAddress.equals(Object other)Parameters:
other
hashCode
public int hashCode()
Overrides:
AmqpAddress.hashCode()toString
public String toString()
Overrides:
AmqpAddress.toString()Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java