Interface ExportServerlessCacheSnapshotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExportServerlessCacheSnapshotResponse.Builder,,ExportServerlessCacheSnapshotResponse> ElastiCacheResponse.Builder,SdkBuilder<ExportServerlessCacheSnapshotResponse.Builder,,ExportServerlessCacheSnapshotResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExportServerlessCacheSnapshotResponse
public static interface ExportServerlessCacheSnapshotResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<ExportServerlessCacheSnapshotResponse.Builder,ExportServerlessCacheSnapshotResponse>
-
Method Summary
Modifier and TypeMethodDescriptionserverlessCacheSnapshot(Consumer<ServerlessCacheSnapshot.Builder> serverlessCacheSnapshot) The state of a serverless cache at a specific point in time, to the millisecond.serverlessCacheSnapshot(ServerlessCacheSnapshot serverlessCacheSnapshot) The state of a serverless cache at a specific point in time, to the millisecond.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serverlessCacheSnapshot
ExportServerlessCacheSnapshotResponse.Builder serverlessCacheSnapshot(ServerlessCacheSnapshot serverlessCacheSnapshot) The state of a serverless cache at a specific point in time, to the millisecond. Available for Valkey, Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCacheSnapshot- The state of a serverless cache at a specific point in time, to the millisecond. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCacheSnapshot
default ExportServerlessCacheSnapshotResponse.Builder serverlessCacheSnapshot(Consumer<ServerlessCacheSnapshot.Builder> serverlessCacheSnapshot) The state of a serverless cache at a specific point in time, to the millisecond. Available for Valkey, Redis OSS and Serverless Memcached only.
This is a convenience method that creates an instance of theServerlessCacheSnapshot.Builderavoiding the need to create one manually viaServerlessCacheSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessCacheSnapshot(ServerlessCacheSnapshot).- Parameters:
serverlessCacheSnapshot- a consumer that will call methods onServerlessCacheSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-