Interface UpdateConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateConfigurationResponse.Builder,,UpdateConfigurationResponse> KafkaResponse.Builder,SdkBuilder<UpdateConfigurationResponse.Builder,,UpdateConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateConfigurationResponse
@Mutable
@NotThreadSafe
public static interface UpdateConfigurationResponse.Builder
extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<UpdateConfigurationResponse.Builder,UpdateConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the configuration.latestRevision(Consumer<ConfigurationRevision.Builder> latestRevision) Latest revision of the configuration.latestRevision(ConfigurationRevision latestRevision) Latest revision of the configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
latestRevision
Latest revision of the configuration.
- Parameters:
latestRevision-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) 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:
-