Interface ServerlessCacheSnapshot.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ServerlessCacheSnapshot.Builder,ServerlessCacheSnapshot>, SdkBuilder<ServerlessCacheSnapshot.Builder,ServerlessCacheSnapshot>, SdkPojo
Enclosing class:
ServerlessCacheSnapshot

public static interface ServerlessCacheSnapshot.Builder extends SdkPojo, CopyableBuilder<ServerlessCacheSnapshot.Builder,ServerlessCacheSnapshot>
  • Method Details

    • serverlessCacheSnapshotName

      ServerlessCacheSnapshot.Builder serverlessCacheSnapshotName(String serverlessCacheSnapshotName)

      The identifier of a serverless cache snapshot. Available for Redis only.

      Parameters:
      serverlessCacheSnapshotName - The identifier of a serverless cache snapshot. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis only.

      Parameters:
      arn - The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Redis only.

      Parameters:
      kmsKeyId - The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotType

      ServerlessCacheSnapshot.Builder snapshotType(String snapshotType)

      The type of snapshot of serverless cache. Available for Redis only.

      Parameters:
      snapshotType - The type of snapshot of serverless cache. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the serverless cache. Available for Redis only.

      Parameters:
      status - The current status of the serverless cache. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      ServerlessCacheSnapshot.Builder createTime(Instant createTime)

      The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot. Available for Redis only.

      Parameters:
      createTime - The date and time that the source serverless cache's metadata and cache data set was obtained for the snapshot. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiryTime

      ServerlessCacheSnapshot.Builder expiryTime(Instant expiryTime)

      The time that the serverless cache snapshot will expire. Available for Redis only.

      Parameters:
      expiryTime - The time that the serverless cache snapshot will expire. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesUsedForCache

      ServerlessCacheSnapshot.Builder bytesUsedForCache(String bytesUsedForCache)

      The total size of a serverless cache snapshot, in bytes. Available for Redis only.

      Parameters:
      bytesUsedForCache - The total size of a serverless cache snapshot, in bytes. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCacheConfiguration

      ServerlessCacheSnapshot.Builder serverlessCacheConfiguration(ServerlessCacheConfiguration serverlessCacheConfiguration)

      The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis only.

      Parameters:
      serverlessCacheConfiguration - The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverlessCacheConfiguration

      default ServerlessCacheSnapshot.Builder serverlessCacheConfiguration(Consumer<ServerlessCacheConfiguration.Builder> serverlessCacheConfiguration)

      The configuration of the serverless cache, at the time the snapshot was taken. Available for Redis only.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serverlessCacheConfiguration(ServerlessCacheConfiguration).

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