Interface ServerlessCacheSnapshot.Builder

    • Method Detail

      • serverlessCacheSnapshotName

        ServerlessCacheSnapshot.Builder serverlessCacheSnapshotName​(String serverlessCacheSnapshotName)

        The identifier of a serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.

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

        ServerlessCacheSnapshot.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of a serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.

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

        ServerlessCacheSnapshot.Builder kmsKeyId​(String kmsKeyId)

        The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.

        Parameters:
        kmsKeyId - The ID of the Amazon Web Services Key Management Service (KMS) key of a serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached only.

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

        ServerlessCacheSnapshot.Builder status​(String status)

        The current status of the serverless cache. Available for Valkey, Redis OSS and Serverless Memcached only.

        Parameters:
        status - The current status of the serverless cache. Available for Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached only.

        Parameters:
        expiryTime - The time that the serverless cache snapshot will expire. Available for Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached only.

        Parameters:
        bytesUsedForCache - The total size of a serverless cache snapshot, in bytes. Available for Valkey, Redis OSS and Serverless Memcached 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 Valkey, Redis OSS and Serverless Memcached only.

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