@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BrokerSummary extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
BrokerSummary() |
| Modifier and Type | Method and Description |
|---|---|
BrokerSummary |
clone() |
boolean |
equals(Object obj) |
String |
getBrokerArn()
The Amazon Resource Name (ARN) of the broker.
|
String |
getBrokerId()
The unique ID that Amazon MQ generates for the broker.
|
String |
getBrokerName()
The name of the broker.
|
String |
getBrokerState()
The status of the broker.
|
String |
getDeploymentMode()
Required.
|
String |
getHostInstanceType()
The broker's instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBrokerArn(String brokerArn)
The Amazon Resource Name (ARN) of the broker.
|
void |
setBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
void |
setBrokerName(String brokerName)
The name of the broker.
|
void |
setBrokerState(String brokerState)
The status of the broker.
|
void |
setDeploymentMode(String deploymentMode)
Required.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's instance type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BrokerSummary |
withBrokerArn(String brokerArn)
The Amazon Resource Name (ARN) of the broker.
|
BrokerSummary |
withBrokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
|
BrokerSummary |
withBrokerName(String brokerName)
The name of the broker.
|
BrokerSummary |
withBrokerState(BrokerState brokerState)
The status of the broker.
|
BrokerSummary |
withBrokerState(String brokerState)
The status of the broker.
|
BrokerSummary |
withDeploymentMode(DeploymentMode deploymentMode)
Required.
|
BrokerSummary |
withDeploymentMode(String deploymentMode)
Required.
|
BrokerSummary |
withHostInstanceType(String hostInstanceType)
The broker's instance type.
|
public void setBrokerArn(String brokerArn)
brokerArn - The Amazon Resource Name (ARN) of the broker.public String getBrokerArn()
public BrokerSummary withBrokerArn(String brokerArn)
brokerArn - The Amazon Resource Name (ARN) of the broker.public void setBrokerId(String brokerId)
brokerId - The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
public BrokerSummary withBrokerId(String brokerId)
brokerId - The unique ID that Amazon MQ generates for the broker.public void setBrokerName(String brokerName)
brokerName - The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain
only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard
characters, or special characters.public String getBrokerName()
public BrokerSummary withBrokerName(String brokerName)
brokerName - The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain
only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard
characters, or special characters.public void setBrokerState(String brokerState)
brokerState - The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, DELETION_IN_PROGRESS,
RUNNING, REBOOT_IN_PROGRESSBrokerStatepublic String getBrokerState()
BrokerStatepublic BrokerSummary withBrokerState(String brokerState)
brokerState - The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, DELETION_IN_PROGRESS,
RUNNING, REBOOT_IN_PROGRESSBrokerStatepublic BrokerSummary withBrokerState(BrokerState brokerState)
brokerState - The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, DELETION_IN_PROGRESS,
RUNNING, REBOOT_IN_PROGRESSBrokerStatepublic void setDeploymentMode(String deploymentMode)
deploymentMode - Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentModepublic String getDeploymentMode()
DeploymentModepublic BrokerSummary withDeploymentMode(String deploymentMode)
deploymentMode - Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentModepublic BrokerSummary withDeploymentMode(DeploymentMode deploymentMode)
deploymentMode - Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentModepublic void setHostInstanceType(String hostInstanceType)
hostInstanceType - The broker's instance type. Possible values: mq.t2.micro, mq.m4.largepublic String getHostInstanceType()
public BrokerSummary withHostInstanceType(String hostInstanceType)
hostInstanceType - The broker's instance type. Possible values: mq.t2.micro, mq.m4.largepublic String toString()
toString in class ObjectObject.toString()public BrokerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.