Interface Configuration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Configuration.Builder,Configuration>,SdkBuilder<Configuration.Builder,Configuration>,SdkPojo
- Enclosing class:
- Configuration
public static interface Configuration.Builder extends SdkPojo, CopyableBuilder<Configuration.Builder,Configuration>
-
-
Method Summary
-
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
-
arn
Configuration.Builder arn(String 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
Configuration.Builder authenticationStrategy(String 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,AuthenticationStrategy
-
authenticationStrategy
Configuration.Builder authenticationStrategy(AuthenticationStrategy 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,AuthenticationStrategy
-
created
Configuration.Builder created(Instant 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
Configuration.Builder description(String 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
Configuration.Builder engineType(String 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,EngineType
-
engineType
Configuration.Builder engineType(EngineType 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,EngineType
-
engineVersion
Configuration.Builder engineVersion(String 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
Configuration.Builder id(String 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
Configuration.Builder latestRevision(ConfigurationRevision 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.Builderavoiding the need to create one manually viaConfigurationRevision.builder().When the
Consumercompletes,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:
latestRevision(ConfigurationRevision)
-
name
Configuration.Builder name(String 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
Configuration.Builder tags(Map<String,String> 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.
-
-