Interface CreateConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateConfigurationResponse.Builder,CreateConfigurationResponse>,MqResponse.Builder,SdkBuilder<CreateConfigurationResponse.Builder,CreateConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateConfigurationResponse
public static interface CreateConfigurationResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<CreateConfigurationResponse.Builder,CreateConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateConfigurationResponse.Builderarn(String arn)Required.CreateConfigurationResponse.BuilderauthenticationStrategy(String authenticationStrategy)Optional.CreateConfigurationResponse.BuilderauthenticationStrategy(AuthenticationStrategy authenticationStrategy)Optional.CreateConfigurationResponse.Buildercreated(Instant created)Required.CreateConfigurationResponse.Builderid(String id)Required.default CreateConfigurationResponse.BuilderlatestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)The latest revision of the configuration.CreateConfigurationResponse.BuilderlatestRevision(ConfigurationRevision latestRevision)The latest revision of the configuration.CreateConfigurationResponse.Buildername(String name)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 Detail
-
arn
CreateConfigurationResponse.Builder arn(String 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
CreateConfigurationResponse.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
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:
AuthenticationStrategy,AuthenticationStrategy
-
created
CreateConfigurationResponse.Builder created(Instant 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
CreateConfigurationResponse.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
CreateConfigurationResponse.Builder latestRevision(ConfigurationRevision 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.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
CreateConfigurationResponse.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.
-
-