Interface DescribeServerlessCacheSnapshotsResponse.Builder

  • Method Details

    • nextToken

      An optional marker returned from a prior request to support pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by max-results. Available for Valkey, Redis OSS and Serverless Memcached only.

      Parameters:
      nextToken - An optional marker returned from a prior request to support pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by max-results. Available for Valkey, Redis OSS and Serverless Memcached only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCacheSnapshots

      DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)

      The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.

      Parameters:
      serverlessCacheSnapshots - The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCacheSnapshots

      DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots)

      The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.

      Parameters:
      serverlessCacheSnapshots - The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCacheSnapshots

      DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(Consumer<ServerlessCacheSnapshot.Builder>... serverlessCacheSnapshots)

      The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.

      This is a convenience method that creates an instance of the ServerlessCacheSnapshot.Builder avoiding the need to create one manually via ServerlessCacheSnapshot.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serverlessCacheSnapshots(List<ServerlessCacheSnapshot>).

      Parameters:
      serverlessCacheSnapshots - a consumer that will call methods on ServerlessCacheSnapshot.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: