Interface Configuration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Configuration.Builder,
,Configuration> SdkBuilder<Configuration.Builder,
,Configuration> SdkPojo
- Enclosing class:
Configuration
-
Method Summary
Modifier and TypeMethodDescriptionRequired.authenticationStrategy
(String authenticationStrategy) Optional.authenticationStrategy
(AuthenticationStrategy authenticationStrategy) Optional.Required.description
(String description) Required.engineType
(String engineType) Required.engineType
(EngineType engineType) Required.engineVersion
(String engineVersion) Required.Required.default Configuration.Builder
latestRevision
(Consumer<ConfigurationRevision.Builder> latestRevision) Required.latestRevision
(ConfigurationRevision latestRevision) Required.Required.The list of all tags associated with this configuration.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 Details
-
arn
Required. The ARN of the configuration.
- Parameters:
arn
- Required. The ARN of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationStrategy
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
- Parameters:
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. 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 associated with the configuration. The default is SIMPLE.
- Parameters:
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. The default is SIMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
created
Required. The date and time of the configuration revision.
- Parameters:
created
- Required. The date and time of the configuration revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Required. The description of the configuration.
- Parameters:
description
- Required. The description of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineType
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
- Parameters:
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineType
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
- Parameters:
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineVersion
Required. The broker engine's version. For a list of supported engine versions, see, Supported engines.
- Parameters:
engineVersion
- Required. The broker engine's version. 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.
-
id
Required. The unique ID that Amazon MQ generates for the configuration.
- Parameters:
id
- Required. The unique ID that Amazon MQ generates for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
Required. The latest revision of the configuration.
- Parameters:
latestRevision
- Required. The latest revision of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default Configuration.Builder latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision) Required. The latest revision of the configuration.
This is a convenience method that creates an instance of theConfigurationRevision.Builder
avoiding the need to create one manually viaConfigurationRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestRevision(ConfigurationRevision)
.- Parameters:
latestRevision
- a consumer that will call methods onConfigurationRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of all tags associated with this configuration.
- Parameters:
tags
- The list of all tags associated with this configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-