public static interface Configuration.Builder extends SdkPojo, CopyableBuilder<Configuration.Builder,Configuration>
equalsBySdkFields, sdkFields
copy
applyMutation, build
Configuration.Builder arn(String arn)
arn
- Required. The ARN of the configuration.Configuration.Builder authenticationStrategy(String authenticationStrategy)
authenticationStrategy
- The authentication strategy associated with the configuration.AuthenticationStrategy
,
AuthenticationStrategy
Configuration.Builder authenticationStrategy(AuthenticationStrategy authenticationStrategy)
authenticationStrategy
- The authentication strategy associated with the configuration.AuthenticationStrategy
,
AuthenticationStrategy
Configuration.Builder created(Instant created)
created
- Required. The date and time of the configuration revision.Configuration.Builder description(String description)
description
- Required. The description of the configuration.Configuration.Builder engineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
,
EngineType
Configuration.Builder engineType(EngineType engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
,
EngineType
Configuration.Builder engineVersion(String engineVersion)
engineVersion
- Required. The version of the broker engine. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlConfiguration.Builder id(String id)
id
- Required. The unique ID that Amazon MQ generates for the configuration.Configuration.Builder latestRevision(ConfigurationRevision latestRevision)
latestRevision
- Required. The latest revision of the configuration.default Configuration.Builder latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)
ConfigurationRevision.Builder
avoiding the need to create one manually via
ConfigurationRevision.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to latestRevision(ConfigurationRevision)
.latestRevision
- a consumer that will call methods on ConfigurationRevision.Builder
latestRevision(ConfigurationRevision)
Configuration.Builder name(String name)
name
- Required. The name of the configuration. This value can contain only alphanumeric characters, dashes,
periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.Configuration.Builder tags(Map<String,String> tags)
tags
- The list of all tags associated with this configuration.