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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExportServerlessCacheSnapshotResponse.Builder
serverlessCacheSnapshot(Consumer<ServerlessCacheSnapshot.Builder> serverlessCacheSnapshot)
The state of a serverless cache at a specific point in time, to the millisecond.ExportServerlessCacheSnapshotResponse.Builder
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
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serverlessCacheSnapshot
ExportServerlessCacheSnapshotResponse.Builder serverlessCacheSnapshot(ServerlessCacheSnapshot serverlessCacheSnapshot)
The state of a serverless cache at a specific point in time, to the millisecond. Available for Redis only.
- Parameters:
serverlessCacheSnapshot
- The state of a serverless cache at a specific point in time, to the millisecond. Available for Redis 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 Redis 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)
-
-