Interface AwsAmazonMqBrokerDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsAmazonMqBrokerDetails.Builder,AwsAmazonMqBrokerDetails>,SdkBuilder<AwsAmazonMqBrokerDetails.Builder,AwsAmazonMqBrokerDetails>,SdkPojo
- Enclosing class:
- AwsAmazonMqBrokerDetails
public static interface AwsAmazonMqBrokerDetails.Builder extends SdkPojo, CopyableBuilder<AwsAmazonMqBrokerDetails.Builder,AwsAmazonMqBrokerDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsAmazonMqBrokerDetails.BuilderauthenticationStrategy(String authenticationStrategy)The authentication strategy used to secure the broker.AwsAmazonMqBrokerDetails.BuilderautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)Whether automatically upgrade new minor versions for brokers, as new versions are released and supported by Amazon MQ.AwsAmazonMqBrokerDetails.BuilderbrokerArn(String brokerArn)The Amazon Resource Name (ARN) of the broker.AwsAmazonMqBrokerDetails.BuilderbrokerId(String brokerId)The unique ID that Amazon MQ generates for the broker.AwsAmazonMqBrokerDetails.BuilderbrokerName(String brokerName)The broker's name.AwsAmazonMqBrokerDetails.BuilderdeploymentMode(String deploymentMode)The broker's deployment mode.default AwsAmazonMqBrokerDetails.BuilderencryptionOptions(Consumer<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder> encryptionOptions)Encryption options for the broker.AwsAmazonMqBrokerDetails.BuilderencryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails encryptionOptions)Encryption options for the broker.AwsAmazonMqBrokerDetails.BuilderengineType(String engineType)The type of broker engine.AwsAmazonMqBrokerDetails.BuilderengineVersion(String engineVersion)The version of the broker engine.AwsAmazonMqBrokerDetails.BuilderhostInstanceType(String hostInstanceType)The broker's instance type.default AwsAmazonMqBrokerDetails.BuilderldapServerMetadata(Consumer<AwsAmazonMqBrokerLdapServerMetadataDetails.Builder> ldapServerMetadata)The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker.AwsAmazonMqBrokerDetails.BuilderldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails ldapServerMetadata)The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker.default AwsAmazonMqBrokerDetails.Builderlogs(Consumer<AwsAmazonMqBrokerLogsDetails.Builder> logs)Turns on Amazon CloudWatch logging for brokers.AwsAmazonMqBrokerDetails.Builderlogs(AwsAmazonMqBrokerLogsDetails logs)Turns on Amazon CloudWatch logging for brokers.default AwsAmazonMqBrokerDetails.BuildermaintenanceWindowStartTime(Consumer<AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder> maintenanceWindowStartTime)The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.AwsAmazonMqBrokerDetails.BuildermaintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails maintenanceWindowStartTime)The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.AwsAmazonMqBrokerDetails.BuilderpubliclyAccessible(Boolean publiclyAccessible)Permits connections from applications outside of the VPC that hosts the broker's subnets.AwsAmazonMqBrokerDetails.BuildersecurityGroups(String... securityGroups)The list of rules (one minimum, 125 maximum) that authorize connections to brokers.AwsAmazonMqBrokerDetails.BuildersecurityGroups(Collection<String> securityGroups)The list of rules (one minimum, 125 maximum) that authorize connections to brokers.AwsAmazonMqBrokerDetails.BuilderstorageType(String storageType)The broker's storage type.AwsAmazonMqBrokerDetails.BuildersubnetIds(String... subnetIds)The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.AwsAmazonMqBrokerDetails.BuildersubnetIds(Collection<String> subnetIds)The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.AwsAmazonMqBrokerDetails.Builderusers(Collection<AwsAmazonMqBrokerUsersDetails> users)The list of all broker usernames for the specified broker.AwsAmazonMqBrokerDetails.Builderusers(Consumer<AwsAmazonMqBrokerUsersDetails.Builder>... users)The list of all broker usernames for the specified broker.AwsAmazonMqBrokerDetails.Builderusers(AwsAmazonMqBrokerUsersDetails... users)The list of all broker usernames for the specified broker.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
AwsAmazonMqBrokerDetails.Builder authenticationStrategy(String authenticationStrategy)
The authentication strategy used to secure the broker. The default is
SIMPLE.- Parameters:
authenticationStrategy- The authentication strategy used to secure the broker. The default isSIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMinorVersionUpgrade
AwsAmazonMqBrokerDetails.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Whether automatically upgrade 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- Whether automatically upgrade 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.
-
brokerArn
AwsAmazonMqBrokerDetails.Builder brokerArn(String brokerArn)
The Amazon Resource Name (ARN) of the broker.
- Parameters:
brokerArn- The Amazon Resource Name (ARN) of the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerName
AwsAmazonMqBrokerDetails.Builder brokerName(String brokerName)
The broker's name.
- Parameters:
brokerName- The broker's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentMode
AwsAmazonMqBrokerDetails.Builder deploymentMode(String deploymentMode)
The broker's deployment mode.
- Parameters:
deploymentMode- The broker's deployment mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionOptions
AwsAmazonMqBrokerDetails.Builder encryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails encryptionOptions)
Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.
- Parameters:
encryptionOptions- Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionOptions
default AwsAmazonMqBrokerDetails.Builder encryptionOptions(Consumer<AwsAmazonMqBrokerEncryptionOptionsDetails.Builder> encryptionOptions)
Encryption options for the broker. Doesn’t apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerEncryptionOptionsDetails.Builderavoiding the need to create one manually viaAwsAmazonMqBrokerEncryptionOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails).- Parameters:
encryptionOptions- a consumer that will call methods onAwsAmazonMqBrokerEncryptionOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionOptions(AwsAmazonMqBrokerEncryptionOptionsDetails)
-
engineType
AwsAmazonMqBrokerDetails.Builder engineType(String engineType)
The type of broker engine.
- Parameters:
engineType- The type of broker engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
AwsAmazonMqBrokerDetails.Builder engineVersion(String engineVersion)
The version of the broker engine.
- Parameters:
engineVersion- The version of the broker engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostInstanceType
AwsAmazonMqBrokerDetails.Builder hostInstanceType(String hostInstanceType)
The broker's instance type.
- Parameters:
hostInstanceType- The broker's instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerId
AwsAmazonMqBrokerDetails.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.
-
ldapServerMetadata
AwsAmazonMqBrokerDetails.Builder ldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails ldapServerMetadata)
The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
- Parameters:
ldapServerMetadata- The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ldapServerMetadata
default AwsAmazonMqBrokerDetails.Builder ldapServerMetadata(Consumer<AwsAmazonMqBrokerLdapServerMetadataDetails.Builder> ldapServerMetadata)
The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerLdapServerMetadataDetails.Builderavoiding the need to create one manually viaAwsAmazonMqBrokerLdapServerMetadataDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails).- Parameters:
ldapServerMetadata- a consumer that will call methods onAwsAmazonMqBrokerLdapServerMetadataDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ldapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails)
-
logs
AwsAmazonMqBrokerDetails.Builder logs(AwsAmazonMqBrokerLogsDetails logs)
Turns on Amazon CloudWatch logging for brokers.
- Parameters:
logs- Turns on Amazon CloudWatch logging for brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logs
default AwsAmazonMqBrokerDetails.Builder logs(Consumer<AwsAmazonMqBrokerLogsDetails.Builder> logs)
Turns on Amazon CloudWatch logging for brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerLogsDetails.Builderavoiding the need to create one manually viaAwsAmazonMqBrokerLogsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologs(AwsAmazonMqBrokerLogsDetails).- Parameters:
logs- a consumer that will call methods onAwsAmazonMqBrokerLogsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logs(AwsAmazonMqBrokerLogsDetails)
-
maintenanceWindowStartTime
AwsAmazonMqBrokerDetails.Builder maintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails maintenanceWindowStartTime)
The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.
- Parameters:
maintenanceWindowStartTime- The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindowStartTime
default AwsAmazonMqBrokerDetails.Builder maintenanceWindowStartTime(Consumer<AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder> maintenanceWindowStartTime)
The scheduled time period (UTC) during which Amazon MQ begins to apply pending updates or patches to the broker.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builderavoiding the need to create one manually viaAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails).- Parameters:
maintenanceWindowStartTime- a consumer that will call methods onAwsAmazonMqBrokerMaintenanceWindowStartTimeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
maintenanceWindowStartTime(AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails)
-
publiclyAccessible
AwsAmazonMqBrokerDetails.Builder publiclyAccessible(Boolean publiclyAccessible)
Permits connections from applications outside of the VPC that hosts the broker's subnets.
- Parameters:
publiclyAccessible- Permits connections from applications outside of the VPC that hosts the broker's subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsAmazonMqBrokerDetails.Builder securityGroups(Collection<String> securityGroups)
The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
- Parameters:
securityGroups- The list of rules (one minimum, 125 maximum) that authorize connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsAmazonMqBrokerDetails.Builder securityGroups(String... securityGroups)
The list of rules (one minimum, 125 maximum) that authorize connections to brokers.
- Parameters:
securityGroups- The list of rules (one minimum, 125 maximum) that authorize connections to brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
AwsAmazonMqBrokerDetails.Builder storageType(String storageType)
The broker's storage type.
- Parameters:
storageType- The broker's storage type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
AwsAmazonMqBrokerDetails.Builder subnetIds(Collection<String> subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
- Parameters:
subnetIds- The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
AwsAmazonMqBrokerDetails.Builder subnetIds(String... subnetIds)
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
- Parameters:
subnetIds- The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
AwsAmazonMqBrokerDetails.Builder users(Collection<AwsAmazonMqBrokerUsersDetails> users)
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
- Parameters:
users- The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
AwsAmazonMqBrokerDetails.Builder users(AwsAmazonMqBrokerUsersDetails... users)
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
- Parameters:
users- The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
AwsAmazonMqBrokerDetails.Builder users(Consumer<AwsAmazonMqBrokerUsersDetails.Builder>... users)
The list of all broker usernames for the specified broker. Doesn't apply to RabbitMQ brokers.
This is a convenience method that creates an instance of theAwsAmazonMqBrokerUsersDetails.Builderavoiding the need to create one manually viaAwsAmazonMqBrokerUsersDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - Parameters:
users- a consumer that will call methods onAwsAmazonMqBrokerUsersDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#users(java.util.Collection)
-
-