Interface NodeSnapshot.Builder

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

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

    • cacheClusterId

      NodeSnapshot.Builder cacheClusterId(String cacheClusterId)

      A unique identifier for the source cluster.

      Parameters:
      cacheClusterId - A unique identifier for the source cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeGroupId

      NodeSnapshot.Builder nodeGroupId(String nodeGroupId)

      A unique identifier for the source node group (shard).

      Parameters:
      nodeGroupId - A unique identifier for the source node group (shard).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeId

      NodeSnapshot.Builder cacheNodeId(String cacheNodeId)

      The cache node identifier for the node in the source cluster.

      Parameters:
      cacheNodeId - The cache node identifier for the node in the source cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeGroupConfiguration

      NodeSnapshot.Builder nodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)

      The configuration for the source node group (shard).

      Parameters:
      nodeGroupConfiguration - The configuration for the source node group (shard).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeGroupConfiguration

      default NodeSnapshot.Builder nodeGroupConfiguration(Consumer<NodeGroupConfiguration.Builder> nodeGroupConfiguration)

      The configuration for the source node group (shard).

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

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

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

      NodeSnapshot.Builder cacheSize(String cacheSize)

      The size of the cache on the source cache node.

      Parameters:
      cacheSize - The size of the cache on the source cache node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheNodeCreateTime

      NodeSnapshot.Builder cacheNodeCreateTime(Instant cacheNodeCreateTime)

      The date and time when the cache node was created in the source cluster.

      Parameters:
      cacheNodeCreateTime - The date and time when the cache node was created in the source cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotCreateTime

      NodeSnapshot.Builder snapshotCreateTime(Instant snapshotCreateTime)

      The date and time when the source node's metadata and cache data set was obtained for the snapshot.

      Parameters:
      snapshotCreateTime - The date and time when the source node's metadata and cache data set was obtained for the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.