Class CreateSnapshotRequest

    • Constructor Detail

      • CreateSnapshotRequest

        public CreateSnapshotRequest()
    • Method Detail

      • setCacheClusterId

        public void setCacheClusterId​(String cacheClusterId)

        The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.

        Parameters:
        cacheClusterId - The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
      • getCacheClusterId

        public String getCacheClusterId()

        The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.

        Returns:
        The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
      • withCacheClusterId

        public CreateSnapshotRequest withCacheClusterId​(String cacheClusterId)

        The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.

        Parameters:
        cacheClusterId - The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSnapshotName

        public void setSnapshotName​(String snapshotName)

        A name for the snapshot being created.

        Parameters:
        snapshotName - A name for the snapshot being created.
      • getSnapshotName

        public String getSnapshotName()

        A name for the snapshot being created.

        Returns:
        A name for the snapshot being created.
      • withSnapshotName

        public CreateSnapshotRequest withSnapshotName​(String snapshotName)

        A name for the snapshot being created.

        Parameters:
        snapshotName - A name for the snapshot being created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object