@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBrokerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateBrokerResult() |
Modifier and Type | Method and Description |
---|---|
CreateBrokerResult |
clone() |
boolean |
equals(Object obj) |
String |
getBrokerArn()
The broker's Amazon Resource Name (ARN).
|
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
int |
hashCode() |
void |
setBrokerArn(String brokerArn)
The broker's Amazon Resource Name (ARN).
|
void |
setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
String |
toString()
Returns a string representation of this object.
|
CreateBrokerResult |
withBrokerArn(String brokerArn)
The broker's Amazon Resource Name (ARN).
|
CreateBrokerResult |
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBrokerArn(String brokerArn)
The broker's Amazon Resource Name (ARN).
brokerArn
- The broker's Amazon Resource Name (ARN).public String getBrokerArn()
The broker's Amazon Resource Name (ARN).
public CreateBrokerResult withBrokerArn(String brokerArn)
The broker's Amazon Resource Name (ARN).
brokerArn
- The broker's Amazon Resource Name (ARN).public void setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
The unique ID that Amazon MQ generates for the broker.
public CreateBrokerResult withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
brokerId
- The unique ID that Amazon MQ generates for the broker.public String toString()
toString
in class Object
Object.toString()
public CreateBrokerResult clone()