@Generated(value="software.amazon.awssdk:codegen") public final class UpdateBrokerRequest extends MqRequest implements ToCopyableBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>
Updates the broker using the specified properties.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateBrokerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationStrategy |
authenticationStrategy()
Optional.
|
String |
authenticationStrategyAsString()
Optional.
|
Boolean |
autoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by
Amazon MQ.
|
String |
brokerId()
The unique ID that Amazon MQ generates for the broker.
|
static UpdateBrokerRequest.Builder |
builder() |
ConfigurationId |
configuration()
A list of information about the configuration.
|
DataReplicationMode |
dataReplicationMode()
Defines whether this broker is a part of a data replication pair.
|
String |
dataReplicationModeAsString()
Defines whether this broker is a part of a data replication pair.
|
String |
engineVersion()
The broker engine version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroups()
For responses, this returns true if the service returned a value for the SecurityGroups property.
|
String |
hostInstanceType()
The broker's host instance type to upgrade to.
|
LdapServerMetadataInput |
ldapServerMetadata()
Optional.
|
Logs |
logs()
Enables Amazon CloudWatch logging for brokers.
|
WeeklyStartTime |
maintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
|
static Class<? extends UpdateBrokerRequest.Builder> |
serializableBuilderClass() |
UpdateBrokerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AuthenticationStrategy authenticationStrategy()
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
authenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from authenticationStrategyAsString().
AuthenticationStrategypublic final String authenticationStrategyAsString()
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
If the service returns an enum value that is not available in the current SDK version,
authenticationStrategy will return AuthenticationStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from authenticationStrategyAsString().
AuthenticationStrategypublic final Boolean autoMinorVersionUpgrade()
Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.
public final String brokerId()
The unique ID that Amazon MQ generates for the broker.
public final ConfigurationId configuration()
A list of information about the configuration.
public final String engineVersion()
The broker engine version. For a list of supported engine versions, see Supported engines.
public final String hostInstanceType()
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
public final LdapServerMetadataInput ldapServerMetadata()
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
public final Logs logs()
Enables Amazon CloudWatch logging for brokers.
public final WeeklyStartTime maintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
public final boolean hasSecurityGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroups()
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroups() method.
public final DataReplicationMode dataReplicationMode()
Defines whether this broker is a part of a data replication pair.
If the service returns an enum value that is not available in the current SDK version,
dataReplicationMode will return DataReplicationMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataReplicationModeAsString().
DataReplicationModepublic final String dataReplicationModeAsString()
Defines whether this broker is a part of a data replication pair.
If the service returns an enum value that is not available in the current SDK version,
dataReplicationMode will return DataReplicationMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataReplicationModeAsString().
DataReplicationModepublic UpdateBrokerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>toBuilder in class MqRequestpublic static UpdateBrokerRequest.Builder builder()
public static Class<? extends UpdateBrokerRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.