Interface UpdateBrokerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateBrokerResponse.Builder,UpdateBrokerResponse>,MqResponse.Builder,SdkBuilder<UpdateBrokerResponse.Builder,UpdateBrokerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateBrokerResponse
public static interface UpdateBrokerResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<UpdateBrokerResponse.Builder,UpdateBrokerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBrokerResponse.BuilderauthenticationStrategy(String authenticationStrategy)Optional.UpdateBrokerResponse.BuilderauthenticationStrategy(AuthenticationStrategy authenticationStrategy)Optional.UpdateBrokerResponse.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ.UpdateBrokerResponse.BuilderbrokerId(String brokerId)Required.default UpdateBrokerResponse.Builderconfiguration(Consumer<ConfigurationId.Builder> configuration)The ID of the updated configuration.UpdateBrokerResponse.Builderconfiguration(ConfigurationId configuration)The ID of the updated configuration.default UpdateBrokerResponse.BuilderdataReplicationMetadata(Consumer<DataReplicationMetadataOutput.Builder> dataReplicationMetadata)The replication details of the data replication-enabled broker.UpdateBrokerResponse.BuilderdataReplicationMetadata(DataReplicationMetadataOutput dataReplicationMetadata)The replication details of the data replication-enabled broker.UpdateBrokerResponse.BuilderdataReplicationMode(String dataReplicationMode)Describes whether this broker is a part of a data replication pair.UpdateBrokerResponse.BuilderdataReplicationMode(DataReplicationMode dataReplicationMode)Describes whether this broker is a part of a data replication pair.UpdateBrokerResponse.BuilderengineVersion(String engineVersion)The broker engine version to upgrade to.UpdateBrokerResponse.BuilderhostInstanceType(String hostInstanceType)The broker's host instance type to upgrade to.default UpdateBrokerResponse.BuilderldapServerMetadata(Consumer<LdapServerMetadataOutput.Builder> ldapServerMetadata)Optional.UpdateBrokerResponse.BuilderldapServerMetadata(LdapServerMetadataOutput ldapServerMetadata)Optional.default UpdateBrokerResponse.Builderlogs(Consumer<Logs.Builder> logs)The list of information about logs to be enabled for the specified broker.UpdateBrokerResponse.Builderlogs(Logs logs)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.UpdateBrokerResponse.BuildermaintenanceWindowStartTime(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.UpdateBrokerResponse.BuilderpendingDataReplicationMetadata(DataReplicationMetadataOutput pendingDataReplicationMetadata)The pending replication details of the data replication-enabled broker.UpdateBrokerResponse.BuilderpendingDataReplicationMode(String pendingDataReplicationMode)Describes whether this broker will be a part of a data replication pair after reboot.UpdateBrokerResponse.BuilderpendingDataReplicationMode(DataReplicationMode pendingDataReplicationMode)Describes whether this broker will be a part of a data replication pair after reboot.UpdateBrokerResponse.BuildersecurityGroups(String... securityGroups)The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.UpdateBrokerResponse.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.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 Detail
-
authenticationStrategy
UpdateBrokerResponse.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
UpdateBrokerResponse.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
UpdateBrokerResponse.Builder autoMinorVersionUpgrade(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.
- 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
UpdateBrokerResponse.Builder brokerId(String 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
UpdateBrokerResponse.Builder configuration(ConfigurationId 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
default UpdateBrokerResponse.Builder configuration(Consumer<ConfigurationId.Builder> 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:
configuration(ConfigurationId)
-
engineVersion
UpdateBrokerResponse.Builder engineVersion(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.
- 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
UpdateBrokerResponse.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
UpdateBrokerResponse.Builder ldapServerMetadata(LdapServerMetadataOutput 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:
ldapServerMetadata(LdapServerMetadataOutput)
-
logs
UpdateBrokerResponse.Builder logs(Logs 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
default UpdateBrokerResponse.Builder logs(Consumer<Logs.Builder> 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:
logs(Logs)
-
maintenanceWindowStartTime
UpdateBrokerResponse.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 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:
maintenanceWindowStartTime(WeeklyStartTime)
-
securityGroups
UpdateBrokerResponse.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
UpdateBrokerResponse.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.
-
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:
dataReplicationMetadata(DataReplicationMetadataOutput)
-
dataReplicationMode
UpdateBrokerResponse.Builder dataReplicationMode(String 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,DataReplicationMode
-
dataReplicationMode
UpdateBrokerResponse.Builder dataReplicationMode(DataReplicationMode 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,DataReplicationMode
-
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:
pendingDataReplicationMetadata(DataReplicationMetadataOutput)
-
pendingDataReplicationMode
UpdateBrokerResponse.Builder pendingDataReplicationMode(String 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:
DataReplicationMode,DataReplicationMode
-
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:
DataReplicationMode,DataReplicationMode
-
-