Interface StopMigrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StopMigrationResponse.Builder,,StopMigrationResponse> ElastiCacheResponse.Builder,SdkBuilder<StopMigrationResponse.Builder,,StopMigrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StopMigrationResponse
@Mutable
@NotThreadSafe
public static interface StopMigrationResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<StopMigrationResponse.Builder,StopMigrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StopMigrationResponse.BuilderserverlessCache(Consumer<ServerlessCache.Builder> serverlessCache) Provides the details of the serverless cache for which the data sync stopped.serverlessCache(ServerlessCache serverlessCache) Provides the details of the serverless cache for which the data sync stopped.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.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
-
serverlessCache
Provides the details of the serverless cache for which the data sync stopped.
- Parameters:
serverlessCache- Provides the details of the serverless cache for which the data sync stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCache
default StopMigrationResponse.Builder serverlessCache(Consumer<ServerlessCache.Builder> serverlessCache) Provides the details of the serverless cache for which the data sync stopped.
This is a convenience method that creates an instance of theServerlessCache.Builderavoiding the need to create one manually viaServerlessCache.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessCache(ServerlessCache).- Parameters:
serverlessCache- a consumer that will call methods onServerlessCache.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-