Interface DescribeServerlessCachesResponse.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 MaxResults.

      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 MaxResults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCaches

      The serverless caches associated with a given description request.

      Parameters:
      serverlessCaches - The serverless caches associated with a given description request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCaches

      DescribeServerlessCachesResponse.Builder serverlessCaches(ServerlessCache... serverlessCaches)

      The serverless caches associated with a given description request.

      Parameters:
      serverlessCaches - The serverless caches associated with a given description request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCaches

      The serverless caches associated with a given description request.

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

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

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