@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BrokerInstance extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about all brokers.
Constructor and Description |
---|
BrokerInstance() |
Modifier and Type | Method and Description |
---|---|
BrokerInstance |
clone() |
boolean |
equals(Object obj) |
String |
getConsoleURL()
The brokers web console URL.
|
List<String> |
getEndpoints()
The broker's wire-level protocol endpoints.
|
String |
getIpAddress()
The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConsoleURL(String consoleURL)
The brokers web console URL.
|
void |
setEndpoints(Collection<String> endpoints)
The broker's wire-level protocol endpoints.
|
void |
setIpAddress(String ipAddress)
The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
String |
toString()
Returns a string representation of this object.
|
BrokerInstance |
withConsoleURL(String consoleURL)
The brokers web console URL.
|
BrokerInstance |
withEndpoints(Collection<String> endpoints)
The broker's wire-level protocol endpoints.
|
BrokerInstance |
withEndpoints(String... endpoints)
The broker's wire-level protocol endpoints.
|
BrokerInstance |
withIpAddress(String ipAddress)
The IP address of the Elastic Network Interface (ENI) attached to the broker.
|
public void setConsoleURL(String consoleURL)
The brokers web console URL.
consoleURL
- The brokers web console URL.public String getConsoleURL()
The brokers web console URL.
public BrokerInstance withConsoleURL(String consoleURL)
The brokers web console URL.
consoleURL
- The brokers web console URL.public List<String> getEndpoints()
The broker's wire-level protocol endpoints.
public void setEndpoints(Collection<String> endpoints)
The broker's wire-level protocol endpoints.
endpoints
- The broker's wire-level protocol endpoints.public BrokerInstance withEndpoints(String... endpoints)
The broker's wire-level protocol endpoints.
NOTE: This method appends the values to the existing list (if any). Use
setEndpoints(java.util.Collection)
or withEndpoints(java.util.Collection)
if you want to
override the existing values.
endpoints
- The broker's wire-level protocol endpoints.public BrokerInstance withEndpoints(Collection<String> endpoints)
The broker's wire-level protocol endpoints.
endpoints
- The broker's wire-level protocol endpoints.public void setIpAddress(String ipAddress)
The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ brokers.
ipAddress
- The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ
brokers.public String getIpAddress()
The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ brokers.
public BrokerInstance withIpAddress(String ipAddress)
The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ brokers.
ipAddress
- The IP address of the Elastic Network Interface (ENI) attached to the broker. Does not apply to RabbitMQ
brokers.public String toString()
toString
in class Object
Object.toString()
public BrokerInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.