Interface CreateServerlessCacheSnapshotRequest.Builder

    • Method Detail

      • serverlessCacheSnapshotName

        CreateServerlessCacheSnapshotRequest.Builder serverlessCacheSnapshotName​(String serverlessCacheSnapshotName)

        The name for the snapshot being created. Must be unique for the customer account. Available for Redis OSS and Serverless Memcached only. Must be between 1 and 255 characters.

        Parameters:
        serverlessCacheSnapshotName - The name for the snapshot being created. Must be unique for the customer account. Available for Redis OSS and Serverless Memcached only. Must be between 1 and 255 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverlessCacheName

        CreateServerlessCacheSnapshotRequest.Builder serverlessCacheName​(String serverlessCacheName)

        The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis OSS and Serverless Memcached only.

        Parameters:
        serverlessCacheName - The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis OSS and Serverless Memcached only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        CreateServerlessCacheSnapshotRequest.Builder kmsKeyId​(String kmsKeyId)

        The ID of the KMS key used to encrypt the snapshot. Available for Redis OSS and Serverless Memcached only. Default: NULL

        Parameters:
        kmsKeyId - The ID of the KMS key used to encrypt the snapshot. Available for Redis OSS and Serverless Memcached only. Default: NULL
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServerlessCacheSnapshotRequest.Builder tags​(Collection<Tag> tags)

        A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.

        Parameters:
        tags - A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServerlessCacheSnapshotRequest.Builder tags​(Tag... tags)

        A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.

        Parameters:
        tags - A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateServerlessCacheSnapshotRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)