Interface CreateServerlessCacheSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateServerlessCacheSnapshotResponse.Builder,CreateServerlessCacheSnapshotResponse>
,ElastiCacheResponse.Builder
,SdkBuilder<CreateServerlessCacheSnapshotResponse.Builder,CreateServerlessCacheSnapshotResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateServerlessCacheSnapshotResponse
public static interface CreateServerlessCacheSnapshotResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<CreateServerlessCacheSnapshotResponse.Builder,CreateServerlessCacheSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateServerlessCacheSnapshotResponse.Builder
serverlessCacheSnapshot(Consumer<ServerlessCacheSnapshot.Builder> serverlessCacheSnapshot)
The state of a serverless cache snapshot at a specific point in time, to the millisecond.CreateServerlessCacheSnapshotResponse.Builder
serverlessCacheSnapshot(ServerlessCacheSnapshot serverlessCacheSnapshot)
The state of a serverless cache snapshot at a specific point in time, to the millisecond.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serverlessCacheSnapshot
CreateServerlessCacheSnapshotResponse.Builder serverlessCacheSnapshot(ServerlessCacheSnapshot serverlessCacheSnapshot)
The state of a serverless cache snapshot 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 snapshot 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 CreateServerlessCacheSnapshotResponse.Builder serverlessCacheSnapshot(Consumer<ServerlessCacheSnapshot.Builder> serverlessCacheSnapshot)
The state of a serverless cache snapshot 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.Builder
avoiding the need to create one manually viaServerlessCacheSnapshot.builder()
.When the
Consumer
completes,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:
serverlessCacheSnapshot(ServerlessCacheSnapshot)
-
-