Interface CreateConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateConfigurationResponse.Builder,
,CreateConfigurationResponse> MqResponse.Builder
,SdkBuilder<CreateConfigurationResponse.Builder,
,CreateConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionRequired.authenticationStrategy
(String authenticationStrategy) Optional.authenticationStrategy
(AuthenticationStrategy authenticationStrategy) Optional.Required.Required.latestRevision
(Consumer<ConfigurationRevision.Builder> latestRevision) The latest revision of the configuration.latestRevision
(ConfigurationRevision latestRevision) The latest revision of the configuration.Required.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 Details
-
arn
Required. The Amazon Resource Name (ARN) of the configuration.
- Parameters:
arn
- Required. The Amazon Resource Name (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
CreateConfigurationResponse.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:
-
created
Required. The date and time of the configuration.
- Parameters:
created
- Required. The date and time of the configuration.- 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
The latest revision of the configuration.
- Parameters:
latestRevision
- The latest revision of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default CreateConfigurationResponse.Builder latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision) 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.
-