Interface MoveClusterNodesRequest.Builder

  • Method Details

    • sourceClusterArn

      MoveClusterNodesRequest.Builder sourceClusterArn(String sourceClusterArn)

      The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved from.

      Parameters:
      sourceClusterArn - The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceInstanceGroupName

      MoveClusterNodesRequest.Builder sourceInstanceGroupName(String sourceInstanceGroupName)

      The name of the instance group in the source cluster that the nodes are moved from.

      Parameters:
      sourceInstanceGroupName - The name of the instance group in the source cluster that the nodes are moved from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetClusterArn

      MoveClusterNodesRequest.Builder targetClusterArn(String targetClusterArn)

      The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved to. The target cluster must be in the same account and Region as the source cluster, and can be the same cluster as the source.

      Parameters:
      targetClusterArn - The Amazon Resource Name (ARN) of the HyperPod cluster that the nodes are moved to. The target cluster must be in the same account and Region as the source cluster, and can be the same cluster as the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetInstanceGroupName

      MoveClusterNodesRequest.Builder targetInstanceGroupName(String targetInstanceGroupName)

      The name of the instance group in the target cluster that the nodes are moved to. If the target cluster is the same as the source cluster, the target instance group must be different from the source instance group.

      Parameters:
      targetInstanceGroupName - The name of the instance group in the target cluster that the nodes are moved to. If the target cluster is the same as the source cluster, the target instance group must be different from the source instance group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceCount

      MoveClusterNodesRequest.Builder instanceCount(Integer instanceCount)

      The number of nodes to move, from 1 to 50. HyperPod selects the nodes from the source instance group. If fewer than this number of nodes are eligible to move, the request fails and no nodes are moved. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

      Parameters:
      instanceCount - The number of nodes to move, from 1 to 50. HyperPod selects the nodes from the source instance group. If fewer than this number of nodes are eligible to move, the request fails and no nodes are moved. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeIds

      A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

      Parameters:
      nodeIds - A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeIds

      A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

      Parameters:
      nodeIds - A list of instance IDs of the nodes to move. You can specify up to 50 instance IDs. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLogicalIds

      MoveClusterNodesRequest.Builder nodeLogicalIds(Collection<String> nodeLogicalIds)

      A list of NodeLogicalIds of the nodes to move. You can specify up to 50 NodeLogicalIds. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

      Parameters:
      nodeLogicalIds - A list of NodeLogicalIds of the nodes to move. You can specify up to 50 NodeLogicalIds. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLogicalIds

      MoveClusterNodesRequest.Builder nodeLogicalIds(String... nodeLogicalIds)

      A list of NodeLogicalIds of the nodes to move. You can specify up to 50 NodeLogicalIds. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.

      Parameters:
      nodeLogicalIds - A list of NodeLogicalIds of the nodes to move. You can specify up to 50 NodeLogicalIds. Each node is evaluated separately, so some nodes can be moved while others fail. The request fails if moving the eligible nodes would reduce the source instance group below its minimum instance count. Specify exactly one of NodeIds, NodeLogicalIds, or InstanceCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      MoveClusterNodesRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry the request with the same client token and the same parameters within 8 hours, the service returns the original response. It doesn't start a new move. If you reuse a client token with different parameters, the request fails.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry the request with the same client token and the same parameters within 8 hours, the service returns the original response. It doesn't start a new move. If you reuse a client token with different parameters, the request fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      MoveClusterNodesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.