Interface MoveCapacityReservationInstancesRequest.Builder

    • Method Detail

      • dryRun

        MoveCapacityReservationInstancesRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        MoveCapacityReservationInstancesRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceCapacityReservationId

        MoveCapacityReservationInstancesRequest.Builder sourceCapacityReservationId​(String sourceCapacityReservationId)

        The ID of the Capacity Reservation from which you want to move capacity.

        Parameters:
        sourceCapacityReservationId - The ID of the Capacity Reservation from which you want to move capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationCapacityReservationId

        MoveCapacityReservationInstancesRequest.Builder destinationCapacityReservationId​(String destinationCapacityReservationId)

        The ID of the Capacity Reservation that you want to move capacity into.

        Parameters:
        destinationCapacityReservationId - The ID of the Capacity Reservation that you want to move capacity into.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceCount

        MoveCapacityReservationInstancesRequest.Builder instanceCount​(Integer instanceCount)

        The number of instances that you want to move from the source Capacity Reservation.

        Parameters:
        instanceCount - The number of instances that you want to move from the source Capacity Reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.