@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBrokerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateBrokerResult() |
Modifier and Type | Method and Description |
---|---|
UpdateBrokerResult |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationStrategy()
Optional.
|
Boolean |
getAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon
MQ.
|
String |
getBrokerId()
Required.
|
ConfigurationId |
getConfiguration()
The ID of the updated configuration.
|
DataReplicationMetadataOutput |
getDataReplicationMetadata()
The replication details of the data replication-enabled broker.
|
String |
getDataReplicationMode()
Describes whether this broker is a part of a data replication pair.
|
String |
getEngineVersion()
The broker engine version to upgrade to.
|
String |
getHostInstanceType()
The broker's host instance type to upgrade to.
|
LdapServerMetadataOutput |
getLdapServerMetadata()
Optional.
|
Logs |
getLogs()
The list of information about logs to be enabled for the specified broker.
|
WeeklyStartTime |
getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
DataReplicationMetadataOutput |
getPendingDataReplicationMetadata()
The pending replication details of the data replication-enabled broker.
|
String |
getPendingDataReplicationMode()
Describes whether this broker will be a part of a data replication pair after reboot.
|
List<String> |
getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon
MQ.
|
void |
setAuthenticationStrategy(String authenticationStrategy)
Optional.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon
MQ.
|
void |
setBrokerId(String brokerId)
Required.
|
void |
setConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
void |
setDataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata)
The replication details of the data replication-enabled broker.
|
void |
setDataReplicationMode(String dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
|
void |
setEngineVersion(String engineVersion)
The broker engine version to upgrade to.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
void |
setLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional.
|
void |
setLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
void |
setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
void |
setPendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata)
The pending replication details of the data replication-enabled broker.
|
void |
setPendingDataReplicationMode(String pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBrokerResult |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
UpdateBrokerResult |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
UpdateBrokerResult |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon
MQ.
|
UpdateBrokerResult |
withBrokerId(String brokerId)
Required.
|
UpdateBrokerResult |
withConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
|
UpdateBrokerResult |
withDataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata)
The replication details of the data replication-enabled broker.
|
UpdateBrokerResult |
withDataReplicationMode(DataReplicationMode dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
|
UpdateBrokerResult |
withDataReplicationMode(String dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
|
UpdateBrokerResult |
withEngineVersion(String engineVersion)
The broker engine version to upgrade to.
|
UpdateBrokerResult |
withHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to.
|
UpdateBrokerResult |
withLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional.
|
UpdateBrokerResult |
withLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
|
UpdateBrokerResult |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
UpdateBrokerResult |
withPendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata)
The pending replication details of the data replication-enabled broker.
|
UpdateBrokerResult |
withPendingDataReplicationMode(DataReplicationMode pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
|
UpdateBrokerResult |
withPendingDataReplicationMode(String pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
|
UpdateBrokerResult |
withSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
UpdateBrokerResult |
withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public String getAuthenticationStrategy()
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
AuthenticationStrategy
public UpdateBrokerResult withAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public UpdateBrokerResult withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.AuthenticationStrategy
public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
autoMinorVersionUpgrade
- Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by
Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker
reboot.public Boolean getAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
public UpdateBrokerResult withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
autoMinorVersionUpgrade
- Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by
Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker
reboot.public Boolean isAutoMinorVersionUpgrade()
Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual broker reboot.
public void setBrokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public String getBrokerId()
Required. The unique ID that Amazon MQ generates for the broker.
public UpdateBrokerResult withBrokerId(String brokerId)
Required. The unique ID that Amazon MQ generates for the broker.
brokerId
- Required. The unique ID that Amazon MQ generates for the broker.public void setConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
configuration
- The ID of the updated configuration.public ConfigurationId getConfiguration()
The ID of the updated configuration.
public UpdateBrokerResult withConfiguration(ConfigurationId configuration)
The ID of the updated configuration.
configuration
- The ID of the updated configuration.public void setEngineVersion(String engineVersion)
The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.public String getEngineVersion()
The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
public UpdateBrokerResult withEngineVersion(String engineVersion)
The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version to upgrade to. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.public void setHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.public String getHostInstanceType()
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
public UpdateBrokerResult withHostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
hostInstanceType
- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.public void setLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Does not apply to RabbitMQ brokers.public LdapServerMetadataOutput getLdapServerMetadata()
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
public UpdateBrokerResult withLdapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
ldapServerMetadata
- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Does not apply to RabbitMQ brokers.public void setLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
logs
- The list of information about logs to be enabled for the specified broker.public Logs getLogs()
The list of information about logs to be enabled for the specified broker.
public UpdateBrokerResult withLogs(Logs logs)
The list of information about logs to be enabled for the specified broker.
logs
- The list of information about logs to be enabled for the specified broker.public void setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public WeeklyStartTime getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
public UpdateBrokerResult withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public List<String> getSecurityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
public void setSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public UpdateBrokerResult withSecurityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public UpdateBrokerResult withSecurityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
securityGroups
- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.public void setDataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata)
The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.
dataReplicationMetadata
- The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is
set to CRDR.public DataReplicationMetadataOutput getDataReplicationMetadata()
The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.
public UpdateBrokerResult withDataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata)
The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.
dataReplicationMetadata
- The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is
set to CRDR.public void setDataReplicationMode(String dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
dataReplicationMode
- Describes whether this broker is a part of a data replication pair.DataReplicationMode
public String getDataReplicationMode()
Describes whether this broker is a part of a data replication pair.
DataReplicationMode
public UpdateBrokerResult withDataReplicationMode(String dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
dataReplicationMode
- Describes whether this broker is a part of a data replication pair.DataReplicationMode
public UpdateBrokerResult withDataReplicationMode(DataReplicationMode dataReplicationMode)
Describes whether this broker is a part of a data replication pair.
dataReplicationMode
- Describes whether this broker is a part of a data replication pair.DataReplicationMode
public void setPendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata)
The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.
pendingDataReplicationMetadata
- The pending replication details of the data replication-enabled broker. Only returned if
pendingDataReplicationMode is set to CRDR.public DataReplicationMetadataOutput getPendingDataReplicationMetadata()
The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.
public UpdateBrokerResult withPendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata)
The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.
pendingDataReplicationMetadata
- The pending replication details of the data replication-enabled broker. Only returned if
pendingDataReplicationMode is set to CRDR.public void setPendingDataReplicationMode(String pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
pendingDataReplicationMode
- Describes whether this broker will be a part of a data replication pair after reboot.DataReplicationMode
public String getPendingDataReplicationMode()
Describes whether this broker will be a part of a data replication pair after reboot.
DataReplicationMode
public UpdateBrokerResult withPendingDataReplicationMode(String pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
pendingDataReplicationMode
- Describes whether this broker will be a part of a data replication pair after reboot.DataReplicationMode
public UpdateBrokerResult withPendingDataReplicationMode(DataReplicationMode pendingDataReplicationMode)
Describes whether this broker will be a part of a data replication pair after reboot.
pendingDataReplicationMode
- Describes whether this broker will be a part of a data replication pair after reboot.DataReplicationMode
public String toString()
toString
in class Object
Object.toString()
public UpdateBrokerResult clone()