Interface UpdateBrokerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>,MqRequest.Builder,SdkBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateBrokerRequest
public static interface UpdateBrokerRequest.Builder extends MqRequest.Builder, SdkPojo, CopyableBuilder<UpdateBrokerRequest.Builder,UpdateBrokerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBrokerRequest.BuilderauthenticationStrategy(String authenticationStrategy)Optional.UpdateBrokerRequest.BuilderauthenticationStrategy(AuthenticationStrategy authenticationStrategy)Optional.UpdateBrokerRequest.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ.UpdateBrokerRequest.BuilderbrokerId(String brokerId)The unique ID that Amazon MQ generates for the broker.default UpdateBrokerRequest.Builderconfiguration(Consumer<ConfigurationId.Builder> configuration)A list of information about the configuration.UpdateBrokerRequest.Builderconfiguration(ConfigurationId configuration)A list of information about the configuration.UpdateBrokerRequest.BuilderdataReplicationMode(String dataReplicationMode)Defines whether this broker is a part of a data replication pair.UpdateBrokerRequest.BuilderdataReplicationMode(DataReplicationMode dataReplicationMode)Defines whether this broker is a part of a data replication pair.UpdateBrokerRequest.BuilderengineVersion(String engineVersion)The broker engine version.UpdateBrokerRequest.BuilderhostInstanceType(String hostInstanceType)The broker's host instance type to upgrade to.default UpdateBrokerRequest.BuilderldapServerMetadata(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata)Optional.UpdateBrokerRequest.BuilderldapServerMetadata(LdapServerMetadataInput ldapServerMetadata)Optional.default UpdateBrokerRequest.Builderlogs(Consumer<Logs.Builder> logs)Enables Amazon CloudWatch logging for brokers.UpdateBrokerRequest.Builderlogs(Logs logs)Enables Amazon CloudWatch logging for brokers.default UpdateBrokerRequest.BuildermaintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime)The parameters that determine the WeeklyStartTime.UpdateBrokerRequest.BuildermaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)The parameters that determine the WeeklyStartTime.UpdateBrokerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateBrokerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateBrokerRequest.BuildersecurityGroups(String... securityGroups)The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.UpdateBrokerRequest.BuildersecurityGroups(Collection<String> securityGroups)The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
authenticationStrategy
UpdateBrokerRequest.Builder authenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
- Parameters:
authenticationStrategy- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthenticationStrategy,AuthenticationStrategy
-
authenticationStrategy
UpdateBrokerRequest.Builder authenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
- Parameters:
authenticationStrategy- Optional. The authentication strategy used to secure the broker. The default is SIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthenticationStrategy,AuthenticationStrategy
-
autoMinorVersionUpgrade
UpdateBrokerRequest.Builder autoMinorVersionUpgrade(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerId
UpdateBrokerRequest.Builder brokerId(String brokerId)
The unique ID that Amazon MQ generates for the broker.
- Parameters:
brokerId- The unique ID that Amazon MQ generates for the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
UpdateBrokerRequest.Builder configuration(ConfigurationId configuration)
A list of information about the configuration.
- Parameters:
configuration- A list of information about the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateBrokerRequest.Builder configuration(Consumer<ConfigurationId.Builder> configuration)
A list of information about the configuration.
This is a convenience method that creates an instance of theConfigurationId.Builderavoiding the need to create one manually viaConfigurationId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ConfigurationId).- Parameters:
configuration- a consumer that will call methods onConfigurationId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ConfigurationId)
-
engineVersion
UpdateBrokerRequest.Builder engineVersion(String engineVersion)
The broker engine version. For a list of supported engine versions, see Supported engines.
- Parameters:
engineVersion- The broker engine version. For a list of supported engine versions, see Supported engines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostInstanceType
UpdateBrokerRequest.Builder hostInstanceType(String hostInstanceType)
The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.
- Parameters:
hostInstanceType- The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
UpdateBrokerRequest.Builder ldapServerMetadata(LdapServerMetadataInput ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
- Parameters:
ldapServerMetadata- Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
default UpdateBrokerRequest.Builder ldapServerMetadata(Consumer<LdapServerMetadataInput.Builder> ldapServerMetadata)
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theLdapServerMetadataInput.Builderavoiding the need to create one manually viaLdapServerMetadataInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toldapServerMetadata(LdapServerMetadataInput).- Parameters:
ldapServerMetadata- a consumer that will call methods onLdapServerMetadataInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ldapServerMetadata(LdapServerMetadataInput)
-
logs
UpdateBrokerRequest.Builder logs(Logs logs)
Enables Amazon CloudWatch logging for brokers.
- Parameters:
logs- Enables Amazon CloudWatch logging for brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
default UpdateBrokerRequest.Builder logs(Consumer<Logs.Builder> logs)
Enables Amazon CloudWatch logging for brokers.
This is a convenience method that creates an instance of theLogs.Builderavoiding the need to create one manually viaLogs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologs(Logs).- Parameters:
logs- a consumer that will call methods onLogs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logs(Logs)
-
maintenanceWindowStartTime
UpdateBrokerRequest.Builder maintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
- Parameters:
maintenanceWindowStartTime- The parameters that determine the WeeklyStartTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindowStartTime
default UpdateBrokerRequest.Builder maintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
This is a convenience method that creates an instance of theWeeklyStartTime.Builderavoiding the need to create one manually viaWeeklyStartTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceWindowStartTime(WeeklyStartTime).- Parameters:
maintenanceWindowStartTime- a consumer that will call methods onWeeklyStartTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
maintenanceWindowStartTime(WeeklyStartTime)
-
securityGroups
UpdateBrokerRequest.Builder securityGroups(Collection<String> securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
- Parameters:
securityGroups- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
UpdateBrokerRequest.Builder securityGroups(String... securityGroups)
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
- Parameters:
securityGroups- The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationMode
UpdateBrokerRequest.Builder dataReplicationMode(String dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode- Defines whether this broker is a part of a data replication pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataReplicationMode,DataReplicationMode
-
dataReplicationMode
UpdateBrokerRequest.Builder dataReplicationMode(DataReplicationMode dataReplicationMode)
Defines whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode- Defines whether this broker is a part of a data replication pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataReplicationMode,DataReplicationMode
-
overrideConfiguration
UpdateBrokerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateBrokerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-