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) Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ.Required.default UpdateBrokerResponse.Builderconfiguration(Consumer<ConfigurationId.Builder> configuration) The ID of the updated configuration.configuration(ConfigurationId configuration) The ID of the updated configuration.default UpdateBrokerResponse.BuilderdataReplicationMetadata(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.BuilderldapServerMetadata(Consumer<LdapServerMetadataOutput.Builder> ldapServerMetadata) Optional.ldapServerMetadata(LdapServerMetadataOutput ldapServerMetadata) Optional.default UpdateBrokerResponse.Builderlogs(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.BuildermaintenanceWindowStartTime(Consumer<WeeklyStartTime.Builder> maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.maintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime) The parameters that determine the WeeklyStartTime.default UpdateBrokerResponse.BuilderpendingDataReplicationMetadata(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
copyMethods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
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.
- Parameters:
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.- 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.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:
-
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.
- Parameters:
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.- 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.Builderavoiding the need to create one manually viaLdapServerMetadataOutput.builder().When the
Consumercompletes,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.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:
-
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.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:
-
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.Builderavoiding the need to create one manually viaDataReplicationMetadataOutput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDataReplicationMetadataOutput.builder().When the
Consumercompletes,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:
-