Interface UpdateBrokerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateBrokerResponse.Builder,
,UpdateBrokerResponse> MqResponse.Builder
,SdkBuilder<UpdateBrokerResponse.Builder,
,UpdateBrokerResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateBrokerResponse
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationStrategy
(String authenticationStrategy) Optional.authenticationStrategy
(AuthenticationStrategy authenticationStrategy) Optional.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.Required.default UpdateBrokerResponse.Builder
configuration
(Consumer<ConfigurationId.Builder> configuration) The ID of the updated configuration.configuration
(ConfigurationId configuration) The ID of the updated configuration.default UpdateBrokerResponse.Builder
dataReplicationMetadata
(Consumer<DataReplicationMetadataOutput.Builder> dataReplicationMetadata) The replication details of the data replication-enabled broker.dataReplicationMetadata
(DataReplicationMetadataOutput dataReplicationMetadata) The replication details of the data replication-enabled broker.dataReplicationMode
(String dataReplicationMode) Describes whether this broker is a part of a data replication pair.dataReplicationMode
(DataReplicationMode dataReplicationMode) Describes whether this broker is a part of a data replication pair.engineVersion
(String engineVersion) The broker engine version to upgrade to.hostInstanceType
(String hostInstanceType) The broker's host instance type to upgrade to.default UpdateBrokerResponse.Builder
ldapServerMetadata
(Consumer<LdapServerMetadataOutput.Builder> ldapServerMetadata) Optional.ldapServerMetadata
(LdapServerMetadataOutput ldapServerMetadata) Optional.default UpdateBrokerResponse.Builder
logs
(Consumer<Logs.Builder> logs) The list of information about logs to be enabled for the specified broker.The list of information about logs to be enabled for the specified broker.default UpdateBrokerResponse.Builder
maintenanceWindowStartTime
(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.maintenanceWindowStartTime
(WeeklyStartTime maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.default UpdateBrokerResponse.Builder
pendingDataReplicationMetadata
(Consumer<DataReplicationMetadataOutput.Builder> pendingDataReplicationMetadata) The pending replication details of the data replication-enabled broker.pendingDataReplicationMetadata
(DataReplicationMetadataOutput pendingDataReplicationMetadata) The pending replication details of the data replication-enabled broker.pendingDataReplicationMode
(String pendingDataReplicationMode) Describes whether this broker will be a part of a data replication pair after reboot.pendingDataReplicationMode
(DataReplicationMode pendingDataReplicationMode) Describes whether this broker will be a part of a data replication pair after reboot.securityGroups
(String... securityGroups) The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.securityGroups
(Collection<String> securityGroups) The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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:
-
autoMinorVersionUpgrade
The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.
- Parameters:
autoMinorVersionUpgrade
- The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerId
Required. The unique ID that Amazon MQ generates for the broker.
- Parameters:
brokerId
- Required. 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
The ID of the updated configuration.
- Parameters:
configuration
- The ID of the updated configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The ID of the updated configuration.
This is a convenience method that creates an instance of theConfigurationId.Builder
avoiding the need to create one manually viaConfigurationId.builder()
.When the
Consumer
completes,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:
-
engineVersion
The broker engine version to upgrade to. For a list of supported engine versions, see Supported engines.
- Parameters:
engineVersion
- The broker engine version to upgrade to. 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
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
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 UpdateBrokerResponse.Builder ldapServerMetadata(Consumer<LdapServerMetadataOutput.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 theLdapServerMetadataOutput.Builder
avoiding the need to create one manually viaLdapServerMetadataOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toldapServerMetadata(LdapServerMetadataOutput)
.- Parameters:
ldapServerMetadata
- a consumer that will call methods onLdapServerMetadataOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logs
The list of information about logs to be enabled for the specified broker.
- Parameters:
logs
- The list of information about logs to be enabled for the specified broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
The list of information about logs to be enabled for the specified broker.
This is a convenience method that creates an instance of theLogs.Builder
avoiding the need to create one manually viaLogs.builder()
.When the
Consumer
completes,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:
-
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 UpdateBrokerResponse.Builder maintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.
This is a convenience method that creates an instance of theWeeklyStartTime.Builder
avoiding the need to create one manually viaWeeklyStartTime.builder()
.When the
Consumer
completes,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:
-
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
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.
-
dataReplicationMetadata
UpdateBrokerResponse.Builder dataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata) The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.
- Parameters:
dataReplicationMetadata
- The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationMetadata
default UpdateBrokerResponse.Builder dataReplicationMetadata(Consumer<DataReplicationMetadataOutput.Builder> dataReplicationMetadata) The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.
This is a convenience method that creates an instance of theDataReplicationMetadataOutput.Builder
avoiding the need to create one manually viaDataReplicationMetadataOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataReplicationMetadata(DataReplicationMetadataOutput)
.- Parameters:
dataReplicationMetadata
- a consumer that will call methods onDataReplicationMetadataOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataReplicationMode
Describes whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode
- Describes 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
Describes whether this broker is a part of a data replication pair.
- Parameters:
dataReplicationMode
- Describes 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:
-
pendingDataReplicationMetadata
UpdateBrokerResponse.Builder pendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata) The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.
- Parameters:
pendingDataReplicationMetadata
- The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingDataReplicationMetadata
default UpdateBrokerResponse.Builder pendingDataReplicationMetadata(Consumer<DataReplicationMetadataOutput.Builder> pendingDataReplicationMetadata) The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.
This is a convenience method that creates an instance of theDataReplicationMetadataOutput.Builder
avoiding the need to create one manually viaDataReplicationMetadataOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topendingDataReplicationMetadata(DataReplicationMetadataOutput)
.- Parameters:
pendingDataReplicationMetadata
- a consumer that will call methods onDataReplicationMetadataOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingDataReplicationMode
Describes whether this broker will be a part of a data replication pair after reboot.
- Parameters:
pendingDataReplicationMode
- Describes whether this broker will be a part of a data replication pair after reboot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pendingDataReplicationMode
UpdateBrokerResponse.Builder pendingDataReplicationMode(DataReplicationMode pendingDataReplicationMode) Describes whether this broker will be a part of a data replication pair after reboot.
- Parameters:
pendingDataReplicationMode
- Describes whether this broker will be a part of a data replication pair after reboot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-