Interface UpdateConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateConfigurationResponse.Builder,UpdateConfigurationResponse>,MqResponse.Builder,SdkBuilder<UpdateConfigurationResponse.Builder,UpdateConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateConfigurationResponse
public static interface UpdateConfigurationResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<UpdateConfigurationResponse.Builder,UpdateConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateConfigurationResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the configuration.UpdateConfigurationResponse.Buildercreated(Instant created)Required.UpdateConfigurationResponse.Builderid(String id)The unique ID that Amazon MQ generates for the configuration.default UpdateConfigurationResponse.BuilderlatestRevision(Consumer<ConfigurationRevision.Builder> latestRevision)The latest revision of the configuration.UpdateConfigurationResponse.BuilderlatestRevision(ConfigurationRevision latestRevision)The latest revision of the configuration.UpdateConfigurationResponse.Buildername(String name)The name of the configuration.UpdateConfigurationResponse.Builderwarnings(Collection<SanitizationWarning> warnings)The list of the first 20 warnings about the configuration elements or attributes that were sanitized.UpdateConfigurationResponse.Builderwarnings(Consumer<SanitizationWarning.Builder>... warnings)The list of the first 20 warnings about the configuration elements or attributes that were sanitized.UpdateConfigurationResponse.Builderwarnings(SanitizationWarning... warnings)The list of the first 20 warnings about the configuration elements or attributes that were sanitized.-
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
UpdateConfigurationResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the configuration.
- Parameters:
arn- The Amazon Resource Name (ARN) of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
UpdateConfigurationResponse.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
UpdateConfigurationResponse.Builder id(String id)
The unique ID that Amazon MQ generates for the configuration.
- Parameters:
id- 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
UpdateConfigurationResponse.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 UpdateConfigurationResponse.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
UpdateConfigurationResponse.Builder name(String name)
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- 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.
-
warnings
UpdateConfigurationResponse.Builder warnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
- Parameters:
warnings- The list of the first 20 warnings about the configuration elements or attributes that were sanitized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
UpdateConfigurationResponse.Builder warnings(SanitizationWarning... warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
- Parameters:
warnings- The list of the first 20 warnings about the configuration elements or attributes that were sanitized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
UpdateConfigurationResponse.Builder warnings(Consumer<SanitizationWarning.Builder>... warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
This is a convenience method that creates an instance of theSanitizationWarning.Builderavoiding the need to create one manually viaSanitizationWarning.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#warnings(List.) - Parameters:
warnings- a consumer that will call methods onSanitizationWarning.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#warnings(java.util.Collection)
-
-